#8F4CD7#8F4CD7
#8F4CD7 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.6% C 0.205 H 302.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4CD7 |
|---|---|
| RGB | rgb(143, 76, 215) |
| HSL | hsl(269, 63%, 57%) |
| HSV | hsv(269, 65%, 84%) |
| CMYK | cmyk(33.5%, 64.7%, 0%, 15.7%) |
| CIE-LAB | lab(46.86, 54.34, -60.85) |
| CIE-LCH | lch(46.86, 81.58, 311.77°) |
| OKLab | oklab(56.56% 0.1098 -0.1729) |
| OKLCH | oklch(56.56% 0.205 302.4) |
| XYZ | xyz(26.1750, 15.9148, 65.9697) |
| Luminance | 0.1592 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.56
Lightish Purple
#A552E6
ΔE00 5.01
Darkorchid
#9932CC
ΔE00 5.29
Blueviolet
#8A2BE2
ΔE00 5.97
Electric Purple
#AA23FF
ΔE00 6.75
Bluish Purple
#703BE7
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4CD7 #94D74C
analogous
#4C4FD7 #8F4CD7 #D54CD7
triadic
#8F4CD7 #D78F4C #4CD78F
tetradic
#8F4CD7 #D74C4F #94D74C #4CD7D5
square
#8F4CD7 #D74C4F #94D74C #4CD7D5
split-complementary
#8F4CD7 #D7D54C #4FD74C
monochromatic
#521F8A #702ABC #8F4CD7 #AE7EE2 #CEB0ED
Accessibility & contrast
On white
5.02
#8F4CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#8F4CD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4CD7
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4CD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4CD7 | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#166FD4
Tritanopia (blue-blind)
#816B8B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8f4cd7; /* rgb */ color: rgb(143, 76, 215); /* oklch */ color: oklch(56.6% 0.205 302.4);
Tailwind
colors: {
custom: {
50: '#b582e4',
500: '#8f4cd7',
950: '#000000',
},
}SCSS
$custom: #8f4cd7; $custom-light: #b582e4; $custom-dark: #000000;
JSON
{
"hex": "#8f4cd7",
"rgb": {
"r": 143,
"g": 76,
"b": 215
},
"hsl": {
"h": 268.921,
"s": 63.47,
"l": 57.059
},
"oklch": {
"l": 0.56557,
"c": 0.2048,
"h": 302.4
},
"luminance": 0.15915
}Semantic roles & 50–950 ramp
primary
#8F4CD7
secondary
#C0DCA3
accent
#E64197
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84