#8A6FE2#8A6FE2
#8A6FE2 is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.1% C 0.168 H 291.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #8A6FE2 |
|---|---|
| RGB | rgb(138, 111, 226) |
| HSL | hsl(254, 66%, 66%) |
| HSV | hsv(254, 51%, 89%) |
| CMYK | cmyk(38.9%, 50.9%, 0%, 11.4%) |
| CIE-LAB | lab(54.30, 36.98, -55.15) |
| CIE-LCH | lch(54.30, 66.40, 303.84°) |
| OKLab | oklab(62.12% 0.0617 -0.1563) |
| OKLCH | oklch(62.12% 0.168 291.6) |
| XYZ | xyz(29.8894, 22.2623, 74.6590) |
| Luminance | 0.2226 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.40
Mediumslateblue
#7B68EE
ΔE00 3.86
Periwinkle (survey)
#8E82FE
ΔE00 6.79
Purpley
#8756E4
ΔE00 7.00
Lighter Purple
#A55AF4
ΔE00 7.15
Light Urple
#B36FF6
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A6FE2 #C7E26F
analogous
#6F8DE2 #8A6FE2 #C36FE2
triadic
#8A6FE2 #E28A6F #6FE28A
tetradic
#8A6FE2 #E26F8D #C7E26F #6FE2C3
square
#8A6FE2 #E26F8D #C7E26F #6FE2C3
split-complementary
#8A6FE2 #E2C36F #8DE26F
monochromatic
#4524B3 #613CD8 #8A6FE2 #B3A2EC #DDD5F7
Accessibility & contrast
On white
3.85
#8A6FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#8A6FE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A6FE2
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A6FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A6FE2 | 1.00 | 3.85 | 5.45 | 5.45 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F84E6
Deuteranopia (green-blind)
#4380DF
Tritanopia (blue-blind)
#73869E
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8a6fe2; /* rgb */ color: rgb(138, 111, 226); /* oklch */ color: oklch(62.1% 0.168 291.6);
Tailwind
colors: {
custom: {
50: '#b099ec',
500: '#8a6fe2',
950: '#000000',
},
}SCSS
$custom: #8a6fe2; $custom-light: #b099ec; $custom-dark: #000000;
JSON
{
"hex": "#8a6fe2",
"rgb": {
"r": 138,
"g": 111,
"b": 226
},
"hsl": {
"h": 254.087,
"s": 66.474,
"l": 66.078
},
"oklch": {
"l": 0.62119,
"c": 0.16803,
"h": 291.6
},
"luminance": 0.22263
}Semantic roles & 50–950 ramp
primary
#8A6FE2
secondary
#E0E9C4
accent
#CE17A3
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84