#8F4DCD#8F4DCD
#8F4DCD is a mid, vivid violet. Relative luminance 0.156; OKLCH L 56.0% C 0.192 H 304.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4DCD |
|---|---|
| RGB | rgb(143, 77, 205) |
| HSL | hsl(271, 56%, 55%) |
| HSV | hsv(271, 62%, 80%) |
| CMYK | cmyk(30.2%, 62.4%, 0%, 19.6%) |
| CIE-LAB | lab(46.39, 51.45, -55.89) |
| CIE-LCH | lch(46.39, 75.96, 312.63°) |
| OKLab | oklab(56% 0.1094 -0.1583) |
| OKLCH | oklch(56% 0.192 304.7) |
| XYZ | xyz(24.9986, 15.5553, 59.4313) |
| Luminance | 0.1555 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.66
Darkorchid
#9932CC
ΔE00 4.97
Lightish Purple
#A552E6
ΔE00 5.61
Deep Lavender
#8D5EB7
ΔE00 5.87
Purply
#983FB2
ΔE00 5.98
Amethyst
#9B5FC0
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4DCD #8BCD4D
analogous
#4F4DCD #8F4DCD #CD4DCB
triadic
#8F4DCD #CD8F4D #4DCD8F
tetradic
#8F4DCD #CD4F4D #8BCD4D #4DCBCD
square
#8F4DCD #CD4F4D #8BCD4D #4DCBCD
split-complementary
#8F4DCD #CBCD4D #4DCD4F
monochromatic
#51237D #7030AC #8F4DCD #AD7DDA #CBADE8
Accessibility & contrast
On white
5.11
#8F4DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#8F4DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4DCD
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4DCD | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#2C6ECA
Tritanopia (blue-blind)
#846886
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8f4dcd; /* rgb */ color: rgb(143, 77, 205); /* oklch */ color: oklch(56.0% 0.192 304.7);
Tailwind
colors: {
custom: {
50: '#b482dd',
500: '#8f4dcd',
950: '#000000',
},
}SCSS
$custom: #8f4dcd; $custom-light: #b482dd; $custom-dark: #000000;
JSON
{
"hex": "#8f4dcd",
"rgb": {
"r": 143,
"g": 77,
"b": 205
},
"hsl": {
"h": 270.938,
"s": 56.14,
"l": 55.294
},
"oklch": {
"l": 0.56003,
"c": 0.19239,
"h": 304.7
},
"luminance": 0.15555
}Semantic roles & 50–950 ramp
primary
#8F4DCD
secondary
#BAD6A0
accent
#DF4892
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83