#8A62EF#8A62EF
#8A62EF is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 60.9% C 0.203 H 292.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8A62EF |
|---|---|
| RGB | rgb(138, 98, 239) |
| HSL | hsl(257, 82%, 66%) |
| HSV | hsv(257, 59%, 94%) |
| CMYK | cmyk(42.3%, 59%, 0%, 6.3%) |
| CIE-LAB | lab(52.25, 47.84, -65.73) |
| CIE-LCH | lch(52.25, 81.30, 306.05°) |
| OKLab | oklab(60.86% 0.0772 -0.1874) |
| OKLCH | oklch(60.86% 0.203 292.4) |
| XYZ | xyz(30.4246, 20.3697, 83.9734) |
| Luminance | 0.2037 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.19
Purpley
#8756E4
ΔE00 3.79
Lighter Purple
#A55AF4
ΔE00 4.91
Mediumpurple
#9370DB
ΔE00 5.28
Lightish Purple
#A552E6
ΔE00 6.18
Light Indigo
#6D5ACF
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A62EF #C7EF62
analogous
#6280EF #8A62EF #D062EF
triadic
#8A62EF #EF8A62 #62EF8A
tetradic
#8A62EF #EF6280 #C7EF62 #62EFD0
square
#8A62EF #EF6280 #C7EF62 #62EFD0
split-complementary
#8A62EF #EFD062 #80EF62
monochromatic
#4514C3 #612AE9 #8A62EF #B39AF5 #DDD1FA
Accessibility & contrast
On white
4.14
#8A62EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#8A62EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A62EF
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A62EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A62EF | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#067AEC
Tritanopia (blue-blind)
#6E819F
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8a62ef; /* rgb */ color: rgb(138, 98, 239); /* oklch */ color: oklch(60.9% 0.203 292.4);
Tailwind
colors: {
custom: {
50: '#b290f5',
500: '#8a62ef',
950: '#000000',
},
}SCSS
$custom: #8a62ef; $custom-light: #b290f5; $custom-dark: #000000;
JSON
{
"hex": "#8a62ef",
"rgb": {
"r": 138,
"g": 98,
"b": 239
},
"hsl": {
"h": 257.021,
"s": 81.503,
"l": 66.078
},
"oklch": {
"l": 0.60861,
"c": 0.20269,
"h": 292.4
},
"luminance": 0.20371
}Semantic roles & 50–950 ramp
primary
#8A62EF
secondary
#E0EEBF
accent
#DE08A1
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110D17
muted
#807D85