#8C2CD0#8C2CD0
#8C2CD0 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.2% C 0.233 H 306.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #8C2CD0 |
|---|---|
| RGB | rgb(140, 44, 208) |
| HSL | hsl(275, 65%, 49%) |
| HSV | hsv(275, 79%, 82%) |
| CMYK | cmyk(32.7%, 78.8%, 0%, 18.4%) |
| CIE-LAB | lab(41.11, 65.87, -66.19) |
| CIE-LCH | lch(41.11, 93.38, 314.86°) |
| OKLab | oklab(52.23% 0.1374 -0.1885) |
| OKLCH | oklch(52.23% 0.233 306.1) |
| XYZ | xyz(23.0985, 11.9311, 60.7483) |
| Luminance | 0.1193 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 2.47
Darkviolet
#9400D3
ΔE00 2.90
Darkorchid
#9932CC
ΔE00 2.91
Violet (survey)
#9A0EEA
ΔE00 3.67
Vivid Purple
#9900FA
ΔE00 5.24
Vibrant Purple
#AD03DE
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C2CD0 #70D02C
analogous
#3A2CD0 #8C2CD0 #D02CC2
triadic
#8C2CD0 #D08C2C #2CD08C
tetradic
#8C2CD0 #D03A2C #70D02C #2CC2D0
square
#8C2CD0 #D03A2C #70D02C #2CC2D0
split-complementary
#8C2CD0 #C2D02C #2CD03A
monochromatic
#48176B #6A219D #8C2CD0 #A85DDD #C38FE7
Accessibility & contrast
On white
6.20
#8C2CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#8C2CD0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C2CD0
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C2CD0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C2CD0 | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ED4
Deuteranopia (green-blind)
#0061CD
Tritanopia (blue-blind)
#80577E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8c2cd0; /* rgb */ color: rgb(140, 44, 208); /* oklch */ color: oklch(52.2% 0.233 306.1);
Tailwind
colors: {
custom: {
50: '#b471df',
500: '#8c2cd0',
950: '#000000',
},
}SCSS
$custom: #8c2cd0; $custom-light: #b471df; $custom-dark: #000000;
JSON
{
"hex": "#8c2cd0",
"rgb": {
"r": 140,
"g": 44,
"b": 208
},
"hsl": {
"h": 275.122,
"s": 65.079,
"l": 49.412
},
"oklch": {
"l": 0.52229,
"c": 0.23325,
"h": 306.1
},
"luminance": 0.11931
}Semantic roles & 50–950 ramp
primary
#8C2CD0
secondary
#A5D286
accent
#E84086
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83