#8F2FC1#8F2FC1
#8F2FC1 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.7% C 0.217 H 310.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2FC1 |
|---|---|
| RGB | rgb(143, 47, 193) |
| HSL | hsl(279, 61%, 47%) |
| HSV | hsv(279, 76%, 76%) |
| CMYK | cmyk(25.9%, 75.6%, 0%, 24.3%) |
| CIE-LAB | lab(40.77, 62.13, -57.99) |
| CIE-LCH | lch(40.77, 84.99, 316.98°) |
| OKLab | oklab(51.73% 0.1422 -0.1643) |
| OKLCH | oklch(51.73% 0.217 310.9) |
| XYZ | xyz(21.9680, 11.7235, 51.5473) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.48
Darkviolet
#9400D3
ΔE00 3.73
Purply
#983FB2
ΔE00 4.68
Blueviolet
#8A2BE2
ΔE00 4.77
Violet (survey)
#9A0EEA
ΔE00 5.43
Vibrant Purple
#AD03DE
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2FC1 #61C12F
analogous
#462FC1 #8F2FC1 #C12FAA
triadic
#8F2FC1 #C18F2F #2FC18F
tetradic
#8F2FC1 #C1462F #61C12F #2FAAC1
square
#8F2FC1 #C1462F #61C12F #2FAAC1
split-complementary
#8F2FC1 #AAC12F #2FC146
monochromatic
#46175F #6B2390 #8F2FC1 #AB57D6 #C388E2
Accessibility & contrast
On white
6.28
#8F2FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#8F2FC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F2FC1
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2FC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2FC1 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC5
Deuteranopia (green-blind)
#0C62BE
Tritanopia (blue-blind)
#885277
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8f2fc1; /* rgb */ color: rgb(143, 47, 193); /* oklch */ color: oklch(51.7% 0.217 310.9);
Tailwind
colors: {
custom: {
50: '#b572d5',
500: '#8f2fc1',
950: '#000000',
},
}SCSS
$custom: #8f2fc1; $custom-light: #b572d5; $custom-dark: #000000;
JSON
{
"hex": "#8f2fc1",
"rgb": {
"r": 143,
"g": 47,
"b": 193
},
"hsl": {
"h": 279.452,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.5173,
"c": 0.21731,
"h": 310.9
},
"luminance": 0.11723
}Semantic roles & 50–950 ramp
primary
#8F2FC1
secondary
#9ACC80
accent
#E4447B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83