#8A62B2#8A62B2
#8A62B2 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.1% C 0.126 H 305.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8A62B2 |
|---|---|
| RGB | rgb(138, 98, 178) |
| HSL | hsl(270, 34%, 54%) |
| HSV | hsv(270, 45%, 70%) |
| CMYK | cmyk(22.5%, 44.9%, 0%, 30.2%) |
| CIE-LAB | lab(48.70, 32.16, -36.59) |
| CIE-LCH | lch(48.70, 48.72, 311.31°) |
| OKLab | oklab(57.09% 0.0738 -0.1021) |
| OKLCH | oklch(57.09% 0.126 305.9) |
| XYZ | xyz(22.8832, 17.3531, 44.2548) |
| Luminance | 0.1735 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.72
Amethyst
#9B5FC0
ΔE00 4.07
Deep Lilac
#966EBD
ΔE00 4.59
Royal Purple
#7851A9
ΔE00 6.33
Dark Lavender
#856798
ΔE00 6.67
Dark Lilac
#9C6DA5
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A62B2 #8AB262
analogous
#6262B2 #8A62B2 #B262B2
triadic
#8A62B2 #B28A62 #62B28A
tetradic
#8A62B2 #B26262 #8AB262 #62B2B2
square
#8A62B2 #B26262 #8AB262 #62B2B2
split-complementary
#8A62B2 #B2B262 #62B262
monochromatic
#4D3367 #6B4790 #8A62B2 #A98BC6 #C7B4DA
Accessibility & contrast
On white
4.70
#8A62B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#8A62B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A62B2
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A62B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A62B2 | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E72B5
Deuteranopia (green-blind)
#5874B0
Tritanopia (blue-blind)
#846F81
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #8a62b2; /* rgb */ color: rgb(138, 98, 178); /* oklch */ color: oklch(57.1% 0.126 305.9);
Tailwind
colors: {
custom: {
50: '#ae8fc9',
500: '#8a62b2',
950: '#000000',
},
}SCSS
$custom: #8a62b2; $custom-light: #ae8fc9; $custom-dark: #000000;
JSON
{
"hex": "#8a62b2",
"rgb": {
"r": 138,
"g": 98,
"b": 178
},
"hsl": {
"h": 270,
"s": 34.188,
"l": 54.118
},
"oklch": {
"l": 0.57087,
"c": 0.12594,
"h": 305.9
},
"luminance": 0.17353
}Semantic roles & 50–950 ramp
primary
#8A62B2
secondary
#B8C9A7
accent
#CA5E94
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82