#A020F0

#A020F0 is the hex color BlueViolet. Here are its RGB, HSL, HSV, CMYK, and OKLCH values, ready-made shades and palettes, and the text colors that stay readable on it.

This is the nearest named color to #A020F0; the exact match is none.

Open #A020F0 in the picker

#A020F0 color codes

HEX
#A020F0
HEX8
#A020F0FF
HEX8 (Android)
#FFA020F0
RGB
rgb(160, 32, 240)
RGB (%)
63%, 13%, 94%
HSL
hsl(277, 87%, 53%)
HSV / HSB
hsv(277, 87%, 94%)
CMYK
cmyk(33%, 87%, 0%, 6%)
OKLCH
oklch(0.5655 0.2741 306.39)
OKLCH (%)
oklch(56.55% 0.2741 306.39)
Decimal
10494192

What color is #A020F0?

#A020F0 sits at 57% lightness and 0.2741 chroma in OKLCH, hue 306.39°. Its nearest named color is BlueViolet.

Shades and tints of #A020F0

Tints

Shades

Tones

#A020F0 color harmonies

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Square

Monochromatic

Using #A020F0 in CSS

.text       { color: #A020F0; }
.background { background-color: #A020F0; }
.border     { border: 2px solid #A020F0; }

/* Modern, perceptually uniform */
.text { color: oklch(0.5655 0.2741 306.39); }

/* #A020F0 at 50% transparency */
.overlay { background-color: #A020F080; }

Is #A020F0 accessible?

#A020F0 on white text scores 5.30:1; on black text it scores 3.96:1. White text passes WCAG AA for normal text on #A020F0. Recommended text color on a #A020F0 background: white.

A 3.96:1 vs black
A 5.3:1 vs white
  • AA normal ≥ 4.5 Pass
  • AA large ≥ 3 Pass
  • AAA normal ≥ 7 Fail
  • AAA large ≥ 4.5 Pass

Recommended text color: white

CSS contrast-color() contrast-color(#A020F0) → white
APCA Lc experimental 80 Lc · body text (white text)

WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.

Related colors

Nearest featured color: Purple #800080. See more in the purple family on the colors hub.

Frequently asked questions

What color is #A020F0?
#A020F0 is closest to BlueViolet. In RGB it is rgb(160, 32, 240), and in HSL hsl(277, 87%, 53%).
What is #A020F0 in RGB?
#A020F0 converts to rgb(160, 32, 240) — red 160, green 32, blue 240.
What text color is readable on #A020F0?
White text — it has the higher contrast ratio (5.30:1) against #A020F0. White text passes WCAG AA for normal text on #A020F0.
Open #A020F0 in the picker