#8F3CA4#8F3CA4
#8F3CA4 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.2% C 0.174 H 319.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8F3CA4 |
|---|---|
| RGB | rgb(143, 60, 164) |
| HSL | hsl(288, 46%, 44%) |
| HSV | hsv(288, 63%, 64%) |
| CMYK | cmyk(12.8%, 63.4%, 0%, 35.7%) |
| CIE-LAB | lab(40.82, 50.70, -40.78) |
| CIE-LCH | lch(40.82, 65.06, 321.19°) |
| OKLab | oklab(51.16% 0.131 -0.1139) |
| OKLCH | oklch(51.16% 0.174 319) |
| XYZ | xyz(19.6435, 11.7526, 36.3485) |
| Luminance | 0.1175 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.75
Medium Purple
#9E43A2
ΔE00 4.09
Warm Purple
#952E8F
ΔE00 4.96
Ugly Purple
#A442A0
ΔE00 5.40
Barney
#AC1DB8
ΔE00 5.67
Darkorchid
#9932CC
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F3CA4 #51A43C
analogous
#5B3CA4 #8F3CA4 #A43C85
triadic
#8F3CA4 #A48F3C #3CA48F
tetradic
#8F3CA4 #A45B3C #51A43C #3C85A4
square
#8F3CA4 #A45B3C #51A43C #3C85A4
split-complementary
#8F3CA4 #85A43C #3CA45B
monochromatic
#411B4A #682C77 #8F3CA4 #AE5AC3 #C487D3
Accessibility & contrast
On white
6.27
#8F3CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#8F3CA4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F3CA4
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F3CA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F3CA4 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E5BA7
Deuteranopia (green-blind)
#4263A1
Tritanopia (blue-blind)
#8F4E6A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8f3ca4; /* rgb */ color: rgb(143, 60, 164); /* oklch */ color: oklch(51.2% 0.174 319.0);
Tailwind
colors: {
custom: {
50: '#b377bf',
500: '#8f3ca4',
950: '#000000',
},
}SCSS
$custom: #8f3ca4; $custom-light: #b377bf; $custom-dark: #000000;
JSON
{
"hex": "#8f3ca4",
"rgb": {
"r": 143,
"g": 60,
"b": 164
},
"hsl": {
"h": 287.885,
"s": 46.429,
"l": 43.922
},
"oklch": {
"l": 0.51162,
"c": 0.17363,
"h": 319
},
"luminance": 0.11752
}Semantic roles & 50–950 ramp
primary
#8F3CA4
secondary
#8BBD7E
accent
#D6526C
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81