#A062CB#A062CB
#A062CB is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.8% C 0.164 H 309.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A062CB |
|---|---|
| RGB | rgb(160, 98, 203) |
| HSL | hsl(275, 50%, 59%) |
| HSV | hsv(275, 52%, 80%) |
| CMYK | cmyk(21.2%, 51.7%, 0%, 20.4%) |
| CIE-LAB | lab(52.42, 44.15, -44.98) |
| CIE-LCH | lch(52.42, 63.03, 314.47°) |
| OKLab | oklab(60.83% 0.1043 -0.1259) |
| OKLCH | oklch(60.83% 0.164 309.6) |
| XYZ | xyz(29.6423, 20.5212, 58.8878) |
| Luminance | 0.2052 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.15
Deep Lilac
#966EBD
ΔE00 4.70
Deep Lavender
#8D5EB7
ΔE00 4.83
Mediumorchid
#BA55D3
ΔE00 5.16
Lightish Purple
#A552E6
ΔE00 5.33
Mediumpurple
#9370DB
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A062CB #8DCB62
analogous
#6C62CB #A062CB #CB62C1
triadic
#A062CB #CBA062 #62CBA0
tetradic
#A062CB #CB6C62 #8DCB62 #62C1CB
square
#A062CB #CB6C62 #8DCB62 #62C1CB
split-complementary
#A062CB #C1CB62 #62CB6C
monochromatic
#612C86 #833CB4 #A062CB #BC90DA #D8BEE9
Accessibility & contrast
On white
4.11
#A062CB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#A062CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A062CB
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A062CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A062CB | 1.00 | 4.11 | 5.10 | 5.10 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#457ACF
Deuteranopia (green-blind)
#587EC8
Tritanopia (blue-blind)
#9A748D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a062cb; /* rgb */ color: rgb(160, 98, 203); /* oklch */ color: oklch(60.8% 0.164 309.6);
Tailwind
colors: {
custom: {
50: '#be91db',
500: '#a062cb',
950: '#000000',
},
}SCSS
$custom: #a062cb; $custom-light: #be91db; $custom-dark: #000000;
JSON
{
"hex": "#a062cb",
"rgb": {
"r": 160,
"g": 98,
"b": 203
},
"hsl": {
"h": 275.429,
"s": 50.239,
"l": 59.02
},
"oklch": {
"l": 0.60826,
"c": 0.16351,
"h": 309.6
},
"luminance": 0.20521
}Semantic roles & 50–950 ramp
primary
#A062CB
secondary
#C1D9B0
accent
#DA4E87
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83