#8F4DCF#8F4DCF
#8F4DCF is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.1% C 0.195 H 304.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4DCF |
|---|---|
| RGB | rgb(143, 77, 207) |
| HSL | hsl(270, 58%, 56%) |
| HSV | hsv(270, 63%, 81%) |
| CMYK | cmyk(30.9%, 62.8%, 0%, 18.8%) |
| CIE-LAB | lab(46.52, 51.93, -56.83) |
| CIE-LCH | lch(46.52, 76.98, 312.42°) |
| OKLab | oklab(56.14% 0.1093 -0.161) |
| OKLCH | oklch(56.14% 0.195 304.2) |
| XYZ | xyz(25.2415, 15.6525, 60.7108) |
| Luminance | 0.1565 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.39
Darkorchid
#9932CC
ΔE00 5.04
Lightish Purple
#A552E6
ΔE00 5.44
Deep Lavender
#8D5EB7
ΔE00 6.05
Purply
#983FB2
ΔE00 6.25
Amethyst
#9B5FC0
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4DCF #8DCF4D
analogous
#4E4DCF #8F4DCF #CF4DCE
triadic
#8F4DCF #CF8F4D #4DCF8F
tetradic
#8F4DCF #CF4E4D #8DCF4D #4DCECF
square
#8F4DCF #CF4E4D #8DCF4D #4DCECF
split-complementary
#8F4DCF #CECF4D #4DCF4E
monochromatic
#52227F #702FAF #8F4DCF #AD7DDC #CCADE9
Accessibility & contrast
On white
5.08
#8F4DCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#8F4DCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4DCF
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4DCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4DCF | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#296ECC
Tritanopia (blue-blind)
#836887
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8f4dcf; /* rgb */ color: rgb(143, 77, 207); /* oklch */ color: oklch(56.1% 0.195 304.2);
Tailwind
colors: {
custom: {
50: '#b482de',
500: '#8f4dcf',
950: '#000000',
},
}SCSS
$custom: #8f4dcf; $custom-light: #b482de; $custom-dark: #000000;
JSON
{
"hex": "#8f4dcf",
"rgb": {
"r": 143,
"g": 77,
"b": 207
},
"hsl": {
"h": 270.462,
"s": 57.522,
"l": 55.686
},
"oklch": {
"l": 0.56138,
"c": 0.19462,
"h": 304.2
},
"luminance": 0.15652
}Semantic roles & 50–950 ramp
primary
#8F4DCF
secondary
#BBD7A1
accent
#E14793
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83