#8F4FCC#8F4FCC
#8F4FCC is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.2% C 0.188 H 304.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4FCC |
|---|---|
| RGB | rgb(143, 79, 204) |
| HSL | hsl(271, 55%, 55%) |
| HSV | hsv(271, 61%, 80%) |
| CMYK | cmyk(29.9%, 61.3%, 0%, 20%) |
| CIE-LAB | lab(46.70, 50.19, -54.81) |
| CIE-LCH | lch(46.70, 74.31, 312.48°) |
| OKLab | oklab(56.21% 0.1071 -0.1551) |
| OKLCH | oklch(56.21% 0.188 304.6) |
| XYZ | xyz(25.0203, 15.7914, 58.8449) |
| Luminance | 0.1579 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.58
Darkorchid
#9932CC
ΔE00 5.38
Deep Lavender
#8D5EB7
ΔE00 5.43
Lightish Purple
#A552E6
ΔE00 5.50
Amethyst
#9B5FC0
ΔE00 5.87
Purply
#983FB2
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4FCC #8CCC4F
analogous
#504FCC #8F4FCC #CC4FCA
triadic
#8F4FCC #CC8F4F #4FCC8F
tetradic
#8F4FCC #CC504F #8CCC4F #4FCACC
square
#8F4FCC #CC504F #8CCC4F #4FCACC
split-complementary
#8F4FCC #CACC4F #4FCC50
monochromatic
#51247D #7032AC #8F4FCC #AD7EDA #CBAEE7
Accessibility & contrast
On white
5.05
#8F4FCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#8F4FCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4FCC
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4FCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4FCC | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#016DD0
Deuteranopia (green-blind)
#316FC9
Tritanopia (blue-blind)
#846986
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8f4fcc; /* rgb */ color: rgb(143, 79, 204); /* oklch */ color: oklch(56.2% 0.188 304.6);
Tailwind
colors: {
custom: {
50: '#b484dc',
500: '#8f4fcc',
950: '#000000',
},
}SCSS
$custom: #8f4fcc; $custom-light: #b484dc; $custom-dark: #000000;
JSON
{
"hex": "#8f4fcc",
"rgb": {
"r": 143,
"g": 79,
"b": 204
},
"hsl": {
"h": 270.72,
"s": 55.066,
"l": 55.49
},
"oklch": {
"l": 0.5621,
"c": 0.18847,
"h": 304.6
},
"luminance": 0.15791
}Semantic roles & 50–950 ramp
primary
#8F4FCC
secondary
#BBD5A1
accent
#DE4992
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83