#A062F2#A062F2
#A062F2 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.2% C 0.208 H 300.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #A062F2 |
|---|---|
| RGB | rgb(160, 98, 242) |
| HSL | hsl(266, 85%, 67%) |
| HSV | hsv(266, 60%, 95%) |
| CMYK | cmyk(33.9%, 59.5%, 0%, 5.1%) |
| CIE-LAB | lab(54.68, 53.35, -63.38) |
| CIE-LCH | lch(54.68, 82.85, 310.09°) |
| OKLab | oklab(63.21% 0.1053 -0.1798) |
| OKLCH | oklch(63.21% 0.208 300.4) |
| XYZ | xyz(34.8880, 22.6195, 86.5151) |
| Luminance | 0.2262 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.84
Lightish Purple
#A552E6
ΔE00 4.24
Light Urple
#B36FF6
ΔE00 4.85
Mediumpurple
#9370DB
ΔE00 5.16
Purpley
#8756E4
ΔE00 6.10
Bright Lavender
#C760FF
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A062F2 #B4F262
analogous
#626CF2 #A062F2 #E862F2
triadic
#A062F2 #F2A062 #62F2A0
tetradic
#A062F2 #F2626C #B4F262 #62F2E8
square
#A062F2 #F2626C #B4F262 #62F2E8
split-complementary
#A062F2 #F2E862 #6CF262
monochromatic
#6011C9 #7E29ED #A062F2 #C29BF7 #E4D3FB
Accessibility & contrast
On white
3.80
#A062F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#A062F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A062F2
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A062F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A062F2 | 1.00 | 3.80 | 5.52 | 5.52 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0182F7
Deuteranopia (green-blind)
#3282EF
Tritanopia (blue-blind)
#8F80A1
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #a062f2; /* rgb */ color: rgb(160, 98, 242); /* oklch */ color: oklch(63.2% 0.208 300.4);
Tailwind
colors: {
custom: {
50: '#c191f7',
500: '#a062f2',
950: '#000000',
},
}SCSS
$custom: #a062f2; $custom-light: #c191f7; $custom-dark: #000000;
JSON
{
"hex": "#a062f2",
"rgb": {
"r": 160,
"g": 98,
"b": 242
},
"hsl": {
"h": 265.833,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.6321,
"c": 0.2084,
"h": 300.4
},
"luminance": 0.2262
}Semantic roles & 50–950 ramp
primary
#A062F2
secondary
#DBEFC1
accent
#E10482
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85