#8F2FB5#8F2FB5
#8F2FB5 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.206 H 314.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2FB5 |
|---|---|
| RGB | rgb(143, 47, 181) |
| HSL | hsl(283, 59%, 45%) |
| HSV | hsv(283, 74%, 71%) |
| CMYK | cmyk(21%, 74%, 0%, 29%) |
| CIE-LAB | lab(39.93, 59.66, -52.30) |
| CIE-LCH | lch(39.93, 79.34, 318.76°) |
| OKLab | oklab(50.87% 0.1442 -0.1476) |
| OKLCH | oklch(50.87% 0.206 314.3) |
| XYZ | xyz(20.6833, 11.2096, 44.7812) |
| Luminance | 0.1121 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.82
Purply
#983FB2
ΔE00 3.92
Darkviolet
#9400D3
ΔE00 4.94
Barney
#AC1DB8
ΔE00 5.10
Purple (survey)
#7E1E9C
ΔE00 5.59
Blueviolet
#8A2BE2
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2FB5 #55B52F
analogous
#4C2FB5 #8F2FB5 #B52F98
triadic
#8F2FB5 #B58F2F #2FB58F
tetradic
#8F2FB5 #B54C2F #55B52F #2F98B5
square
#8F2FB5 #B54C2F #55B52F #2F98B5
split-complementary
#8F2FB5 #98B52F #2FB54C
monochromatic
#421654 #692284 #8F2FB5 #AD50D1 #C480DE
Accessibility & contrast
On white
6.48
#8F2FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#8F2FB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F2FB5
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2FB5 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#2760B2
Tritanopia (blue-blind)
#8B4C70
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8f2fb5; /* rgb */ color: rgb(143, 47, 181); /* oklch */ color: oklch(50.9% 0.206 314.3);
Tailwind
colors: {
custom: {
50: '#b471cc',
500: '#8f2fb5',
950: '#000000',
},
}SCSS
$custom: #8f2fb5; $custom-light: #b471cc; $custom-dark: #000000;
JSON
{
"hex": "#8f2fb5",
"rgb": {
"r": 143,
"g": 47,
"b": 181
},
"hsl": {
"h": 282.985,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.50868,
"c": 0.2063,
"h": 314.3
},
"luminance": 0.11209
}Semantic roles & 50–950 ramp
primary
#8F2FB5
secondary
#8FC779
accent
#E24672
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82