#8F3CA5#8F3CA5
#8F3CA5 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.2% C 0.175 H 318.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #8F3CA5 |
|---|---|
| RGB | rgb(143, 60, 165) |
| HSL | hsl(287, 47%, 44%) |
| HSV | hsv(287, 64%, 65%) |
| CMYK | cmyk(13.3%, 63.6%, 0%, 35.3%) |
| CIE-LAB | lab(40.88, 50.91, -41.28) |
| CIE-LCH | lch(40.88, 65.54, 320.96°) |
| OKLab | oklab(51.22% 0.131 -0.1154) |
| OKLCH | oklch(51.22% 0.175 318.6) |
| XYZ | xyz(19.7342, 11.7888, 36.8260) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.63
Medium Purple
#9E43A2
ΔE00 4.17
Warm Purple
#952E8F
ΔE00 5.12
Ugly Purple
#A442A0
ΔE00 5.49
Barney
#AC1DB8
ΔE00 5.62
Darkorchid
#9932CC
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F3CA5 #52A53C
analogous
#5B3CA5 #8F3CA5 #A53C87
triadic
#8F3CA5 #A58F3C #3CA58F
tetradic
#8F3CA5 #A55B3C #52A53C #3C87A5
square
#8F3CA5 #A55B3C #52A53C #3C87A5
split-complementary
#8F3CA5 #87A53C #3CA55B
monochromatic
#411B4B #682C78 #8F3CA5 #AD5BC3 #C488D4
Accessibility & contrast
On white
6.25
#8F3CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#8F3CA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F3CA5
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F3CA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F3CA5 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D5BA8
Deuteranopia (green-blind)
#4263A2
Tritanopia (blue-blind)
#8F4E6B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8f3ca5; /* rgb */ color: rgb(143, 60, 165); /* oklch */ color: oklch(51.2% 0.175 318.6);
Tailwind
colors: {
custom: {
50: '#b377c0',
500: '#8f3ca5',
950: '#000000',
},
}SCSS
$custom: #8f3ca5; $custom-light: #b377c0; $custom-dark: #000000;
JSON
{
"hex": "#8f3ca5",
"rgb": {
"r": 143,
"g": 60,
"b": 165
},
"hsl": {
"h": 287.429,
"s": 46.667,
"l": 44.118
},
"oklch": {
"l": 0.51223,
"c": 0.1746,
"h": 318.6
},
"luminance": 0.11788
}Semantic roles & 50–950 ramp
primary
#8F3CA5
secondary
#8CBE7F
accent
#D6516D
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81