#8F4DC0#8F4DC0
#8F4DC0 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.1% C 0.178 H 308.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4DC0 |
|---|---|
| RGB | rgb(143, 77, 192) |
| HSL | hsl(274, 48%, 53%) |
| HSV | hsv(274, 60%, 75%) |
| CMYK | cmyk(25.5%, 59.9%, 0%, 24.7%) |
| CIE-LAB | lab(45.57, 48.40, -49.68) |
| CIE-LCH | lch(45.57, 69.36, 314.25°) |
| OKLab | oklab(55.15% 0.1098 -0.1401) |
| OKLCH | oklch(55.15% 0.178 308.1) |
| XYZ | xyz(23.4941, 14.9535, 51.5076) |
| Luminance | 0.1495 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.35
Deep Lavender
#8D5EB7
ΔE00 4.90
Darkorchid
#9932CC
ΔE00 5.01
Royal Purple
#7851A9
ΔE00 5.49
Amethyst
#9B5FC0
ΔE00 5.74
Purpley
#8756E4
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4DC0 #7EC04D
analogous
#554DC0 #8F4DC0 #C04DB7
triadic
#8F4DC0 #C08F4D #4DC08F
tetradic
#8F4DC0 #C0554D #7EC04D #4DB7C0
square
#8F4DC0 #C0554D #7EC04D #4DB7C0
split-complementary
#8F4DC0 #B7C04D #4DC055
monochromatic
#4E266C #6F3699 #8F4DC0 #AB7AD0 #C8A7E0
Accessibility & contrast
On white
5.26
#8F4DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#8F4DC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4DC0
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4DC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4DC0 | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D69C4
Deuteranopia (green-blind)
#3C6DBD
Tritanopia (blue-blind)
#88637F
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8f4dc0; /* rgb */ color: rgb(143, 77, 192); /* oklch */ color: oklch(55.1% 0.178 308.1);
Tailwind
colors: {
custom: {
50: '#b382d4',
500: '#8f4dc0',
950: '#000000',
},
}SCSS
$custom: #8f4dc0; $custom-light: #b382d4; $custom-dark: #000000;
JSON
{
"hex": "#8f4dc0",
"rgb": {
"r": 143,
"g": 77,
"b": 192
},
"hsl": {
"h": 274.435,
"s": 47.718,
"l": 52.745
},
"oklch": {
"l": 0.55149,
"c": 0.17796,
"h": 308.1
},
"luminance": 0.14953
}Semantic roles & 50–950 ramp
primary
#8F4DC0
secondary
#B1CD9B
accent
#D7508A
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83