#8C2FBA#8C2FBA
#8C2FBA is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.8% C 0.210 H 311.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #8C2FBA |
|---|---|
| RGB | rgb(140, 47, 186) |
| HSL | hsl(280, 60%, 46%) |
| HSV | hsv(280, 75%, 73%) |
| CMYK | cmyk(24.7%, 74.7%, 0%, 27.1%) |
| CIE-LAB | lab(39.84, 60.11, -55.42) |
| CIE-LCH | lch(39.84, 81.76, 317.32°) |
| OKLab | oklab(50.82% 0.1395 -0.1568) |
| OKLCH | oklch(50.82% 0.21 311.7) |
| XYZ | xyz(20.6930, 11.1542, 47.5078) |
| Luminance | 0.1115 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.49
Darkviolet
#9400D3
ΔE00 4.27
Purply
#983FB2
ΔE00 4.62
Blueviolet
#8A2BE2
ΔE00 5.67
Barney
#AC1DB8
ΔE00 5.86
Purple (survey)
#7E1E9C
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C2FBA #5DBA2F
analogous
#462FBA #8C2FBA #BA2FA2
triadic
#8C2FBA #BA8C2F #2FBA8C
tetradic
#8C2FBA #BA462F #5DBA2F #2FA2BA
square
#8C2FBA #BA462F #5DBA2F #2FA2BA
split-complementary
#8C2FBA #A2BA2F #2FBA46
monochromatic
#421658 #672389 #8C2FBA #A953D3 #C184E0
Accessibility & contrast
On white
6.50
#8C2FBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#8C2FBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C2FBA
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C2FBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C2FBA | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#1860B7
Tritanopia (blue-blind)
#864F73
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8c2fba; /* rgb */ color: rgb(140, 47, 186); /* oklch */ color: oklch(50.8% 0.210 311.7);
Tailwind
colors: {
custom: {
50: '#b271d0',
500: '#8c2fba',
950: '#000000',
},
}SCSS
$custom: #8c2fba; $custom-light: #b271d0; $custom-dark: #000000;
JSON
{
"hex": "#8c2fba",
"rgb": {
"r": 140,
"g": 47,
"b": 186
},
"hsl": {
"h": 280.144,
"s": 59.657,
"l": 45.686
},
"oklch": {
"l": 0.50823,
"c": 0.20991,
"h": 311.7
},
"luminance": 0.11154
}Semantic roles & 50–950 ramp
primary
#8C2FBA
secondary
#95C97C
accent
#E34579
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82