#8F3FA2#8F3FA2
#8F3FA2 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.4% C 0.167 H 319.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8F3FA2 |
|---|---|
| RGB | rgb(143, 63, 162) |
| HSL | hsl(288, 44%, 44%) |
| HSV | hsv(288, 61%, 64%) |
| CMYK | cmyk(11.7%, 61.1%, 0%, 36.5%) |
| CIE-LAB | lab(41.22, 48.88, -38.94) |
| CIE-LCH | lch(41.22, 62.49, 321.46°) |
| OKLab | oklab(51.42% 0.1272 -0.1086) |
| OKLCH | oklch(51.42% 0.167 319.5) |
| XYZ | xyz(19.6260, 12.0041, 35.4587) |
| Luminance | 0.1200 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.90
Medium Purple
#9E43A2
ΔE00 3.59
Warm Purple
#952E8F
ΔE00 4.92
Ugly Purple
#A442A0
ΔE00 4.95
Barney
#AC1DB8
ΔE00 6.07
Light Eggplant
#894585
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F3FA2 #52A23F
analogous
#5E3FA2 #8F3FA2 #A23F84
triadic
#8F3FA2 #A28F3F #3FA28F
tetradic
#8F3FA2 #A25E3F #52A23F #3F84A2
square
#8F3FA2 #A25E3F #52A23F #3F84A2
split-complementary
#8F3FA2 #84A23F #3FA25E
monochromatic
#411D4A #682E76 #8F3FA2 #AD5EC0 #C48AD1
Accessibility & contrast
On white
6.18
#8F3FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#8F3FA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F3FA2
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F3FA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F3FA2 | 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)
#275CA5
Deuteranopia (green-blind)
#46649F
Tritanopia (blue-blind)
#8F4F6A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8f3fa2; /* rgb */ color: rgb(143, 63, 162); /* oklch */ color: oklch(51.4% 0.167 319.5);
Tailwind
colors: {
custom: {
50: '#b279be',
500: '#8f3fa2',
950: '#000000',
},
}SCSS
$custom: #8f3fa2; $custom-light: #b279be; $custom-dark: #000000;
JSON
{
"hex": "#8f3fa2",
"rgb": {
"r": 143,
"g": 63,
"b": 162
},
"hsl": {
"h": 288.485,
"s": 44,
"l": 44.118
},
"oklch": {
"l": 0.51417,
"c": 0.16725,
"h": 319.5
},
"luminance": 0.12003
}Semantic roles & 50–950 ramp
primary
#8F3FA2
secondary
#8CBC81
accent
#D4546D
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110912
muted
#807B81