#8F4DE6#8F4DE6
#8F4DE6 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.8% C 0.220 H 299.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4DE6 |
|---|---|
| RGB | rgb(143, 77, 230) |
| HSL | hsl(266, 75%, 60%) |
| HSV | hsv(266, 67%, 90%) |
| CMYK | cmyk(37.8%, 66.5%, 0%, 9.8%) |
| CIE-LAB | lab(48.08, 57.50, -67.40) |
| CIE-LCH | lch(48.08, 88.59, 310.47°) |
| OKLab | oklab(57.76% 0.1071 -0.1921) |
| OKLCH | oklch(57.76% 0.22 299.1) |
| XYZ | xyz(28.2609, 16.8602, 76.6130) |
| Luminance | 0.1686 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.31
Lightish Purple
#A552E6
ΔE00 4.48
Lighter Purple
#A55AF4
ΔE00 5.86
Electric Purple
#AA23FF
ΔE00 5.93
Blueviolet
#8A2BE2
ΔE00 6.41
Bluish Purple
#703BE7
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4DE6 #A4E64D
analogous
#4D58E6 #8F4DE6 #DB4DE6
triadic
#8F4DE6 #E68F4D #4DE68F
tetradic
#8F4DE6 #E64D58 #A4E64D #4DE6DB
square
#8F4DE6 #E64D58 #A4E64D #4DE6DB
split-complementary
#8F4DE6 #E6DB4D #58E64D
monochromatic
#5317A2 #6E1ED8 #8F4DE6 #B183EE #D3B8F5
Accessibility & contrast
On white
4.80
#8F4DE6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#8F4DE6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4DE6
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4DE6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4DE6 | 1.00 | 4.80 | 4.37 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#0071E3
Tritanopia (blue-blind)
#7B7193
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8f4de6; /* rgb */ color: rgb(143, 77, 230); /* oklch */ color: oklch(57.8% 0.220 299.1);
Tailwind
colors: {
custom: {
50: '#b683ef',
500: '#8f4de6',
950: '#000000',
},
}SCSS
$custom: #8f4de6; $custom-light: #b683ef; $custom-dark: #000000;
JSON
{
"hex": "#8f4de6",
"rgb": {
"r": 143,
"g": 77,
"b": 230
},
"hsl": {
"h": 265.882,
"s": 75.369,
"l": 60.196
},
"oklch": {
"l": 0.57764,
"c": 0.21995,
"h": 299.1
},
"luminance": 0.16861
}Semantic roles & 50–950 ramp
primary
#8F4DE6
secondary
#CBE5AA
accent
#D80E81
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85