#8F3CA6#8F3CA6
#8F3CA6 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.3% C 0.176 H 318.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8F3CA6 |
|---|---|
| RGB | rgb(143, 60, 166) |
| HSL | hsl(287, 47%, 44%) |
| HSV | hsv(287, 64%, 65%) |
| CMYK | cmyk(13.9%, 63.9%, 0%, 34.9%) |
| CIE-LAB | lab(40.94, 51.11, -41.78) |
| CIE-LCH | lch(40.94, 66.01, 320.73°) |
| OKLab | oklab(51.28% 0.131 -0.1169) |
| OKLCH | oklch(51.28% 0.176 318.3) |
| XYZ | xyz(19.8255, 11.8254, 37.3072) |
| Luminance | 0.1182 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.52
Medium Purple
#9E43A2
ΔE00 4.26
Warm Purple
#952E8F
ΔE00 5.29
Barney
#AC1DB8
ΔE00 5.57
Ugly Purple
#A442A0
ΔE00 5.59
Darkorchid
#9932CC
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F3CA6 #53A63C
analogous
#5A3CA6 #8F3CA6 #A63C88
triadic
#8F3CA6 #A68F3C #3CA68F
tetradic
#8F3CA6 #A65A3C #53A63C #3C88A6
square
#8F3CA6 #A65A3C #53A63C #3C88A6
split-complementary
#8F3CA6 #88A63C #3CA65A
monochromatic
#421C4C #682C79 #8F3CA6 #AD5BC4 #C488D4
Accessibility & contrast
On white
6.24
#8F3CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#8F3CA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F3CA6
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F3CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F3CA6 | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B5BA9
Deuteranopia (green-blind)
#4163A3
Tritanopia (blue-blind)
#8F4E6B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8f3ca6; /* rgb */ color: rgb(143, 60, 166); /* oklch */ color: oklch(51.3% 0.176 318.3);
Tailwind
colors: {
custom: {
50: '#b377c1',
500: '#8f3ca6',
950: '#000000',
},
}SCSS
$custom: #8f3ca6; $custom-light: #b377c1; $custom-dark: #000000;
JSON
{
"hex": "#8f3ca6",
"rgb": {
"r": 143,
"g": 60,
"b": 166
},
"hsl": {
"h": 286.981,
"s": 46.903,
"l": 44.314
},
"oklch": {
"l": 0.51284,
"c": 0.17558,
"h": 318.3
},
"luminance": 0.11825
}Semantic roles & 50–950 ramp
primary
#8F3CA6
secondary
#8DBE7F
accent
#D7516E
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81