#8C2FC0#8C2FC0
#8C2FC0 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.3% C 0.215 H 310.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #8C2FC0 |
|---|---|
| RGB | rgb(140, 47, 192) |
| HSL | hsl(278, 61%, 47%) |
| HSV | hsv(278, 76%, 75%) |
| CMYK | cmyk(27.1%, 75.5%, 0%, 24.7%) |
| CIE-LAB | lab(40.27, 61.37, -58.24) |
| CIE-LCH | lch(40.27, 84.61, 316.50°) |
| OKLab | oklab(51.26% 0.1385 -0.1651) |
| OKLCH | oklch(51.26% 0.216 310) |
| XYZ | xyz(21.3443, 11.4147, 50.9378) |
| Luminance | 0.1141 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.97
Darkviolet
#9400D3
ΔE00 3.73
Blueviolet
#8A2BE2
ΔE00 4.75
Purply
#983FB2
ΔE00 5.03
Violet (survey)
#9A0EEA
ΔE00 5.61
Vibrant Purple
#AD03DE
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C2FC0 #63C02F
analogous
#442FC0 #8C2FC0 #C02FAB
triadic
#8C2FC0 #C08C2F #2FC08C
tetradic
#8C2FC0 #C0442F #63C02F #2FABC0
square
#8C2FC0 #C0442F #63C02F #2FABC0
split-complementary
#8C2FC0 #ABC02F #2FC044
monochromatic
#44175E #68238F #8C2FC0 #A856D6 #C188E2
Accessibility & contrast
On white
6.40
#8C2FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#8C2FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C2FC0
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C2FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C2FC0 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#0260BD
Tritanopia (blue-blind)
#855276
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8c2fc0; /* rgb */ color: rgb(140, 47, 192); /* oklch */ color: oklch(51.3% 0.215 310.0);
Tailwind
colors: {
custom: {
50: '#b371d4',
500: '#8c2fc0',
950: '#000000',
},
}SCSS
$custom: #8c2fc0; $custom-light: #b371d4; $custom-dark: #000000;
JSON
{
"hex": "#8c2fc0",
"rgb": {
"r": 140,
"g": 47,
"b": 192
},
"hsl": {
"h": 278.483,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.51264,
"c": 0.2155,
"h": 310
},
"luminance": 0.11414
}Semantic roles & 50–950 ramp
primary
#8C2FC0
secondary
#9BCB7F
accent
#E4447D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83