#8A62CB#8A62CB
#8A62CB is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.5% C 0.158 H 299.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #8A62CB |
|---|---|
| RGB | rgb(138, 98, 203) |
| HSL | hsl(263, 50%, 59%) |
| HSV | hsv(263, 52%, 80%) |
| CMYK | cmyk(32%, 51.7%, 0%, 20.4%) |
| CIE-LAB | lab(50.04, 38.37, -48.92) |
| CIE-LCH | lch(50.04, 62.17, 308.11°) |
| OKLab | oklab(58.52% 0.0766 -0.138) |
| OKLCH | oklch(58.52% 0.158 299) |
| XYZ | xyz(25.6258, 18.4502, 58.6995) |
| Luminance | 0.1845 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.07
Amethyst
#9B5FC0
ΔE00 4.74
Purpley
#8756E4
ΔE00 5.00
Mediumpurple
#9370DB
ΔE00 5.00
Deep Lilac
#966EBD
ΔE00 5.88
Light Indigo
#6D5ACF
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A62CB #A3CB62
analogous
#626FCB #8A62CB #BF62CB
triadic
#8A62CB #CB8A62 #62CB8A
tetradic
#8A62CB #CB626F #A3CB62 #62CBBF
square
#8A62CB #CB626F #A3CB62 #62CBBF
split-complementary
#8A62CB #CBBF62 #6FCB62
monochromatic
#4F2C86 #6A3CB4 #8A62CB #AC90DA #CFBEE9
Accessibility & contrast
On white
4.48
#8A62CB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#8A62CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A62CB
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A62CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A62CB | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C77CF
Deuteranopia (green-blind)
#4776C9
Tritanopia (blue-blind)
#7C768D
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #8a62cb; /* rgb */ color: rgb(138, 98, 203); /* oklch */ color: oklch(58.5% 0.158 299.0);
Tailwind
colors: {
custom: {
50: '#af90db',
500: '#8a62cb',
950: '#000000',
},
}SCSS
$custom: #8a62cb; $custom-light: #af90db; $custom-dark: #000000;
JSON
{
"hex": "#8a62cb",
"rgb": {
"r": 138,
"g": 98,
"b": 203
},
"hsl": {
"h": 262.857,
"s": 50.239,
"l": 59.02
},
"oklch": {
"l": 0.58518,
"c": 0.15787,
"h": 299
},
"luminance": 0.1845
}Semantic roles & 50–950 ramp
primary
#8A62CB
secondary
#C9D9B0
accent
#DA4EA5
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83