#8A62F4#8A62F4
#8A62F4 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.2% C 0.209 H 291.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #8A62F4 |
|---|---|
| RGB | rgb(138, 98, 244) |
| HSL | hsl(256, 87%, 67%) |
| HSV | hsv(256, 60%, 96%) |
| CMYK | cmyk(43.4%, 59.8%, 0%, 4.3%) |
| CIE-LAB | lab(52.59, 49.19, -67.99) |
| CIE-LCH | lch(52.59, 83.91, 305.88°) |
| OKLab | oklab(61.21% 0.077 -0.194) |
| OKLCH | oklch(61.21% 0.209 291.7) |
| XYZ | xyz(31.1735, 20.6693, 87.9175) |
| Luminance | 0.2067 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.17
Purpley
#8756E4
ΔE00 4.20
Lighter Purple
#A55AF4
ΔE00 4.93
Mediumpurple
#9370DB
ΔE00 5.65
Lightish Purple
#A552E6
ΔE00 6.43
Light Indigo
#6D5ACF
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A62F4 #CCF462
analogous
#6283F4 #8A62F4 #D362F4
triadic
#8A62F4 #F48A62 #62F48A
tetradic
#8A62F4 #F46283 #CCF462 #62F4D3
square
#8A62F4 #F46283 #CCF462 #62F4D3
split-complementary
#8A62F4 #F4D362 #83F462
monochromatic
#430ECD #5F29F0 #8A62F4 #B59BF8 #DFD4FC
Accessibility & contrast
On white
4.09
#8A62F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#8A62F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A62F4
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A62F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A62F4 | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080F9
Deuteranopia (green-blind)
#007AF1
Tritanopia (blue-blind)
#6B83A2
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8a62f4; /* rgb */ color: rgb(138, 98, 244); /* oklch */ color: oklch(61.2% 0.209 291.7);
Tailwind
colors: {
custom: {
50: '#b390f9',
500: '#8a62f4',
950: '#000000',
},
}SCSS
$custom: #8a62f4; $custom-light: #b390f9; $custom-dark: #000000;
JSON
{
"hex": "#8a62f4",
"rgb": {
"r": 138,
"g": 98,
"b": 244
},
"hsl": {
"h": 256.438,
"s": 86.905,
"l": 67.059
},
"oklch": {
"l": 0.6121,
"c": 0.20876,
"h": 291.7
},
"luminance": 0.2067
}Semantic roles & 50–950 ramp
primary
#8A62F4
secondary
#E3F0C2
accent
#E302A6
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85