#8F3CA2#8F3CA2
#8F3CA2 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.0% C 0.172 H 319.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #8F3CA2 |
|---|---|
| RGB | rgb(143, 60, 162) |
| HSL | hsl(289, 46%, 44%) |
| HSV | hsv(289, 63%, 64%) |
| CMYK | cmyk(11.7%, 63%, 0%, 36.5%) |
| CIE-LAB | lab(40.70, 50.30, -39.76) |
| CIE-LCH | lch(40.70, 64.12, 321.67°) |
| OKLab | oklab(51.04% 0.131 -0.111) |
| OKLCH | oklch(51.04% 0.172 319.7) |
| XYZ | xyz(19.4643, 11.6809, 35.4048) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.02
Medium Purple
#9E43A2
ΔE00 3.94
Warm Purple
#952E8F
ΔE00 4.64
Ugly Purple
#A442A0
ΔE00 5.23
Barney
#AC1DB8
ΔE00 5.80
Barney Purple
#A00498
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F3CA2 #4FA23C
analogous
#5C3CA2 #8F3CA2 #A23C82
triadic
#8F3CA2 #A28F3C #3CA28F
tetradic
#8F3CA2 #A25C3C #4FA23C #3C82A2
square
#8F3CA2 #A25C3C #4FA23C #3C82A2
split-complementary
#8F3CA2 #82A23C #3CA25C
monochromatic
#401B49 #682B75 #8F3CA2 #AE59C2 #C486D2
Accessibility & contrast
On white
6.29
#8F3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#8F3CA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F3CA2
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F3CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F3CA2 | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#215AA5
Deuteranopia (green-blind)
#44639F
Tritanopia (blue-blind)
#904D69
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8f3ca2; /* rgb */ color: rgb(143, 60, 162); /* oklch */ color: oklch(51.0% 0.172 319.7);
Tailwind
colors: {
custom: {
50: '#b377be',
500: '#8f3ca2',
950: '#000000',
},
}SCSS
$custom: #8f3ca2; $custom-light: #b377be; $custom-dark: #000000;
JSON
{
"hex": "#8f3ca2",
"rgb": {
"r": 143,
"g": 60,
"b": 162
},
"hsl": {
"h": 288.824,
"s": 45.946,
"l": 43.529
},
"oklch": {
"l": 0.51041,
"c": 0.17168,
"h": 319.7
},
"luminance": 0.1168
}Semantic roles & 50–950 ramp
primary
#8F3CA2
secondary
#89BC7D
accent
#D6526B
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81