#8F3EA5#8F3EA5
#8F3EA5 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.5% C 0.172 H 318.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8F3EA5 |
|---|---|
| RGB | rgb(143, 62, 165) |
| HSL | hsl(287, 45%, 45%) |
| HSV | hsv(287, 62%, 65%) |
| CMYK | cmyk(13.3%, 62.4%, 0%, 35.3%) |
| CIE-LAB | lab(41.22, 49.97, -40.74) |
| CIE-LCH | lch(41.22, 64.47, 320.81°) |
| OKLab | oklab(51.47% 0.1286 -0.1138) |
| OKLCH | oklch(51.47% 0.172 318.5) |
| XYZ | xyz(19.8409, 12.0023, 36.8616) |
| Luminance | 0.1200 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.51
Medium Purple
#9E43A2
ΔE00 3.94
Warm Purple
#952E8F
ΔE00 5.28
Ugly Purple
#A442A0
ΔE00 5.31
Barney
#AC1DB8
ΔE00 5.78
Darkorchid
#9932CC
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F3EA5 #54A53E
analogous
#5B3EA5 #8F3EA5 #A53E88
triadic
#8F3EA5 #A58F3E #3EA58F
tetradic
#8F3EA5 #A55B3E #54A53E #3E88A5
square
#8F3EA5 #A55B3E #54A53E #3E88A5
split-complementary
#8F3EA5 #88A53E #3EA55B
monochromatic
#421D4C #682D79 #8F3EA5 #AD5EC2 #C48AD3
Accessibility & contrast
On white
6.18
#8F3EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#8F3EA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F3EA5
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F3EA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F3EA5 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#215CA8
Deuteranopia (green-blind)
#4364A2
Tritanopia (blue-blind)
#8F4F6C
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8f3ea5; /* rgb */ color: rgb(143, 62, 165); /* oklch */ color: oklch(51.5% 0.172 318.5);
Tailwind
colors: {
custom: {
50: '#b378c0',
500: '#8f3ea5',
950: '#000000',
},
}SCSS
$custom: #8f3ea5; $custom-light: #b378c0; $custom-dark: #000000;
JSON
{
"hex": "#8f3ea5",
"rgb": {
"r": 143,
"g": 62,
"b": 165
},
"hsl": {
"h": 287.184,
"s": 45.374,
"l": 44.51
},
"oklch": {
"l": 0.5147,
"c": 0.1717,
"h": 318.5
},
"luminance": 0.12002
}Semantic roles & 50–950 ramp
primary
#8F3EA5
secondary
#8EBE81
accent
#D5536F
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110912
muted
#807B81