#8F4CD3#8F4CD3
#8F4CD3 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.3% C 0.200 H 303.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4CD3 |
|---|---|
| RGB | rgb(143, 76, 211) |
| HSL | hsl(270, 61%, 56%) |
| HSV | hsv(270, 64%, 83%) |
| CMYK | cmyk(32.2%, 64%, 0%, 17.3%) |
| CIE-LAB | lab(46.59, 53.38, -59.00) |
| CIE-LCH | lch(46.59, 79.56, 312.14°) |
| OKLab | oklab(56.28% 0.1102 -0.1674) |
| OKLCH | oklch(56.28% 0.2 303.3) |
| XYZ | xyz(25.6673, 15.7117, 63.2958) |
| Luminance | 0.1571 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.01
Darkorchid
#9932CC
ΔE00 5.03
Lightish Purple
#A552E6
ΔE00 5.26
Blueviolet
#8A2BE2
ΔE00 6.07
Deep Lavender
#8D5EB7
ΔE00 6.59
Purply
#983FB2
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4CD3 #90D34C
analogous
#4C4DD3 #8F4CD3 #D34CD3
triadic
#8F4CD3 #D38F4C #4CD38F
tetradic
#8F4CD3 #D34C4D #90D34C #4CD3D3
square
#8F4CD3 #D34C4D #90D34C #4CD3D3
split-complementary
#8F4CD3 #D3D34C #4DD34C
monochromatic
#522084 #702DB5 #8F4CD3 #AE7DDF #CCAEEB
Accessibility & contrast
On white
5.07
#8F4CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#8F4CD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4CD3
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4CD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4CD3 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#206ED0
Tritanopia (blue-blind)
#826989
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8f4cd3; /* rgb */ color: rgb(143, 76, 211); /* oklch */ color: oklch(56.3% 0.200 303.3);
Tailwind
colors: {
custom: {
50: '#b482e1',
500: '#8f4cd3',
950: '#000000',
},
}SCSS
$custom: #8f4cd3; $custom-light: #b482e1; $custom-dark: #000000;
JSON
{
"hex": "#8f4cd3",
"rgb": {
"r": 143,
"g": 76,
"b": 211
},
"hsl": {
"h": 269.778,
"s": 60.538,
"l": 56.275
},
"oklch": {
"l": 0.56279,
"c": 0.20039,
"h": 303.3
},
"luminance": 0.15712
}Semantic roles & 50–950 ramp
primary
#8F4CD3
secondary
#BED9A2
accent
#E44494
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83