#8F4CDF#8F4CDF
#8F4CDF is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.1% C 0.214 H 300.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4CDF |
|---|---|
| RGB | rgb(143, 76, 223) |
| HSL | hsl(267, 70%, 59%) |
| HSV | hsv(267, 66%, 87%) |
| CMYK | cmyk(35.9%, 65.9%, 0%, 12.5%) |
| CIE-LAB | lab(47.41, 56.28, -64.52) |
| CIE-LCH | lch(47.41, 85.62, 311.10°) |
| OKLab | oklab(57.13% 0.109 -0.1836) |
| OKLCH | oklch(57.13% 0.214 300.7) |
| XYZ | xyz(27.2282, 16.3360, 71.5164) |
| Luminance | 0.1634 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.83
Lightish Purple
#A552E6
ΔE00 4.68
Darkorchid
#9932CC
ΔE00 5.95
Blueviolet
#8A2BE2
ΔE00 5.98
Electric Purple
#AA23FF
ΔE00 6.17
Lighter Purple
#A55AF4
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4CDF #9CDF4C
analogous
#4C52DF #8F4CDF #D84CDF
triadic
#8F4CDF #DF8F4C #4CDF8F
tetradic
#8F4CDF #DF4C52 #9CDF4C #4CDFD8
square
#8F4CDF #DF4C52 #9CDF4C #4CDFD8
split-complementary
#8F4CDF #DFD84C #52DF4C
monochromatic
#531B96 #7024CA #8F4CDF #AF80E8 #D0B4F2
Accessibility & contrast
On white
4.92
#8F4CDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#8F4CDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4CDF
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4CDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4CDF | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#7E6E8F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8f4cdf; /* rgb */ color: rgb(143, 76, 223); /* oklch */ color: oklch(57.1% 0.214 300.7);
Tailwind
colors: {
custom: {
50: '#b582ea',
500: '#8f4cdf',
950: '#000000',
},
}SCSS
$custom: #8f4cdf; $custom-light: #b582ea; $custom-dark: #000000;
JSON
{
"hex": "#8f4cdf",
"rgb": {
"r": 143,
"g": 76,
"b": 223
},
"hsl": {
"h": 267.347,
"s": 69.668,
"l": 58.627
},
"oklch": {
"l": 0.57127,
"c": 0.21355,
"h": 300.7
},
"luminance": 0.16336
}Semantic roles & 50–950 ramp
primary
#8F4CDF
secondary
#C6E0A6
accent
#EC3B9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84