#8A62F2#8A62F2
#8A62F2 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.1% C 0.206 H 291.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8A62F2 |
|---|---|
| RGB | rgb(138, 98, 242) |
| HSL | hsl(257, 85%, 67%) |
| HSV | hsv(257, 60%, 95%) |
| CMYK | cmyk(43%, 59.5%, 0%, 5.1%) |
| CIE-LAB | lab(52.45, 48.65, -67.09) |
| CIE-LCH | lch(52.45, 82.87, 305.95°) |
| OKLab | oklab(61.07% 0.0771 -0.1914) |
| OKLCH | oklch(61.07% 0.206 291.9) |
| XYZ | xyz(30.8715, 20.5485, 86.3269) |
| Luminance | 0.2055 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.16
Purpley
#8756E4
ΔE00 4.03
Lighter Purple
#A55AF4
ΔE00 4.91
Mediumpurple
#9370DB
ΔE00 5.50
Lightish Purple
#A552E6
ΔE00 6.33
Light Indigo
#6D5ACF
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A62F2 #CAF262
analogous
#6282F2 #8A62F2 #D262F2
triadic
#8A62F2 #F28A62 #62F28A
tetradic
#8A62F2 #F26282 #CAF262 #62F2D2
square
#8A62F2 #F26282 #CAF262 #62F2D2
split-complementary
#8A62F2 #F2D262 #82F262
monochromatic
#4411C9 #6029ED #8A62F2 #B49BF7 #DED3FB
Accessibility & contrast
On white
4.11
#8A62F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#8A62F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A62F2
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A62F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A62F2 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#6C82A1
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8a62f2; /* rgb */ color: rgb(138, 98, 242); /* oklch */ color: oklch(61.1% 0.206 291.9);
Tailwind
colors: {
custom: {
50: '#b390f7',
500: '#8a62f2',
950: '#000000',
},
}SCSS
$custom: #8a62f2; $custom-light: #b390f7; $custom-dark: #000000;
JSON
{
"hex": "#8a62f2",
"rgb": {
"r": 138,
"g": 98,
"b": 242
},
"hsl": {
"h": 256.667,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.6107,
"c": 0.20633,
"h": 291.9
},
"luminance": 0.20549
}Semantic roles & 50–950 ramp
primary
#8A62F2
secondary
#E2EFC1
accent
#E104A4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120D17
muted
#817D85