#8F4DCE#8F4DCE
#8F4DCE is a mid, vivid violet. Relative luminance 0.156; OKLCH L 56.1% C 0.194 H 304.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4DCE |
|---|---|
| RGB | rgb(143, 77, 206) |
| HSL | hsl(271, 57%, 55%) |
| HSV | hsv(271, 63%, 81%) |
| CMYK | cmyk(30.6%, 62.6%, 0%, 19.2%) |
| CIE-LAB | lab(46.45, 51.69, -56.36) |
| CIE-LCH | lch(46.45, 76.47, 312.52°) |
| OKLab | oklab(56.07% 0.1093 -0.1597) |
| OKLCH | oklch(56.07% 0.194 304.4) |
| XYZ | xyz(25.1197, 15.6037, 60.0690) |
| Luminance | 0.1560 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.52
Darkorchid
#9932CC
ΔE00 5.00
Lightish Purple
#A552E6
ΔE00 5.53
Deep Lavender
#8D5EB7
ΔE00 5.96
Purply
#983FB2
ΔE00 6.11
Amethyst
#9B5FC0
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4DCE #8CCE4D
analogous
#4F4DCE #8F4DCE #CE4DCC
triadic
#8F4DCE #CE8F4D #4DCE8F
tetradic
#8F4DCE #CE4F4D #8CCE4D #4DCCCE
square
#8F4DCE #CE4F4D #8CCE4D #4DCCCE
split-complementary
#8F4DCE #CCCE4D #4DCE4F
monochromatic
#51237E #7030AE #8F4DCE #AD7DDB #CBADE8
Accessibility & contrast
On white
5.10
#8F4DCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#8F4DCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4DCE
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4DCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4DCE | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#2B6ECB
Tritanopia (blue-blind)
#836886
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8f4dce; /* rgb */ color: rgb(143, 77, 206); /* oklch */ color: oklch(56.1% 0.194 304.4);
Tailwind
colors: {
custom: {
50: '#b482de',
500: '#8f4dce',
950: '#000000',
},
}SCSS
$custom: #8f4dce; $custom-light: #b482de; $custom-dark: #000000;
JSON
{
"hex": "#8f4dce",
"rgb": {
"r": 143,
"g": 77,
"b": 206
},
"hsl": {
"h": 270.698,
"s": 56.828,
"l": 55.49
},
"oklch": {
"l": 0.5607,
"c": 0.19351,
"h": 304.4
},
"luminance": 0.15604
}Semantic roles & 50–950 ramp
primary
#8F4DCE
secondary
#BBD6A1
accent
#E04892
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83