#8C2FC8#8C2FC8
#8C2FC8 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.9% C 0.223 H 307.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #8C2FC8 |
|---|---|
| RGB | rgb(140, 47, 200) |
| HSL | hsl(276, 62%, 48%) |
| HSV | hsv(276, 77%, 78%) |
| CMYK | cmyk(30%, 76.5%, 0%, 21.6%) |
| CIE-LAB | lab(40.86, 63.08, -61.95) |
| CIE-LCH | lch(40.86, 88.41, 315.52°) |
| OKLab | oklab(51.87% 0.1369 -0.176) |
| OKLCH | oklch(51.87% 0.223 307.9) |
| XYZ | xyz(22.2549, 11.7789, 55.7336) |
| Luminance | 0.1178 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.61
Darkviolet
#9400D3
ΔE00 3.30
Blueviolet
#8A2BE2
ΔE00 3.57
Violet (survey)
#9A0EEA
ΔE00 4.62
Vibrant Purple
#AD03DE
ΔE00 5.55
Purply
#983FB2
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C2FC8 #6BC82F
analogous
#402FC8 #8C2FC8 #C82FB7
triadic
#8C2FC8 #C88C2F #2FC88C
tetradic
#8C2FC8 #C8402F #6BC82F #2FB7C8
square
#8C2FC8 #C8402F #6BC82F #2FB7C8
split-complementary
#8C2FC8 #B7C82F #2FC840
monochromatic
#471865 #692396 #8C2FC8 #A85CD9 #C28DE4
Accessibility & contrast
On white
6.26
#8C2FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#8C2FC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C2FC8
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C2FC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C2FC8 | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#82557B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8c2fc8; /* rgb */ color: rgb(140, 47, 200); /* oklch */ color: oklch(51.9% 0.223 307.9);
Tailwind
colors: {
custom: {
50: '#b372da',
500: '#8c2fc8',
950: '#000000',
},
}SCSS
$custom: #8c2fc8; $custom-light: #b372da; $custom-dark: #000000;
JSON
{
"hex": "#8c2fc8",
"rgb": {
"r": 140,
"g": 47,
"b": 200
},
"hsl": {
"h": 276.471,
"s": 61.943,
"l": 48.431
},
"oklch": {
"l": 0.51866,
"c": 0.22297,
"h": 307.9
},
"luminance": 0.11779
}Semantic roles & 50–950 ramp
primary
#8C2FC8
secondary
#A1CF84
accent
#E54382
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83