#8F4DC7#8F4DC7
#8F4DC7 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.6% C 0.186 H 306.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4DC7 |
|---|---|
| RGB | rgb(143, 77, 199) |
| HSL | hsl(272, 52%, 54%) |
| HSV | hsv(272, 61%, 78%) |
| CMYK | cmyk(28.1%, 61.3%, 0%, 22%) |
| CIE-LAB | lab(46.00, 50.03, -53.04) |
| CIE-LCH | lch(46.00, 72.92, 313.33°) |
| OKLab | oklab(55.6% 0.1096 -0.1499) |
| OKLCH | oklch(55.6% 0.186 306.2) |
| XYZ | xyz(24.2882, 15.2711, 55.6899) |
| Luminance | 0.1527 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.87
Purply
#983FB2
ΔE00 5.20
Deep Lavender
#8D5EB7
ΔE00 5.36
Purpley
#8756E4
ΔE00 5.51
Amethyst
#9B5FC0
ΔE00 5.97
Royal Purple
#7851A9
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4DC7 #85C74D
analogous
#524DC7 #8F4DC7 #C74DC2
triadic
#8F4DC7 #C78F4D #4DC78F
tetradic
#8F4DC7 #C7524D #85C74D #4DC2C7
square
#8F4DC7 #C7524D #85C74D #4DC2C7
split-complementary
#8F4DC7 #C2C74D #4DC752
monochromatic
#502575 #7033A3 #8F4DC7 #AC7CD6 #CAAAE4
Accessibility & contrast
On white
5.18
#8F4DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#8F4DC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4DC7
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4DC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4DC7 | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A6BCB
Deuteranopia (green-blind)
#346DC4
Tritanopia (blue-blind)
#866683
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8f4dc7; /* rgb */ color: rgb(143, 77, 199); /* oklch */ color: oklch(55.6% 0.186 306.2);
Tailwind
colors: {
custom: {
50: '#b382d9',
500: '#8f4dc7',
950: '#000000',
},
}SCSS
$custom: #8f4dc7; $custom-light: #b382d9; $custom-dark: #000000;
JSON
{
"hex": "#8f4dc7",
"rgb": {
"r": 143,
"g": 77,
"b": 199
},
"hsl": {
"h": 272.459,
"s": 52.137,
"l": 54.118
},
"oklch": {
"l": 0.55603,
"c": 0.18573,
"h": 306.2
},
"luminance": 0.15271
}Semantic roles & 50–950 ramp
primary
#8F4DC7
secondary
#B6D29E
accent
#DC4C8E
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B15
muted
#807C83