#8C2CD1#8C2CD1
#8C2CD1 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.3% C 0.234 H 305.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8C2CD1 |
|---|---|
| RGB | rgb(140, 44, 209) |
| HSL | hsl(275, 65%, 50%) |
| HSV | hsv(275, 79%, 82%) |
| CMYK | cmyk(33%, 78.9%, 0%, 18%) |
| CIE-LAB | lab(41.19, 66.09, -66.64) |
| CIE-LCH | lch(41.19, 93.85, 314.76°) |
| OKLab | oklab(52.31% 0.1372 -0.1898) |
| OKLCH | oklch(52.31% 0.234 305.9) |
| XYZ | xyz(23.2220, 11.9805, 61.3983) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 2.33
Darkviolet
#9400D3
ΔE00 2.92
Darkorchid
#9932CC
ΔE00 2.95
Violet (survey)
#9A0EEA
ΔE00 3.57
Vivid Purple
#9900FA
ΔE00 5.12
Vibrant Purple
#AD03DE
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C2CD1 #71D12C
analogous
#3A2CD1 #8C2CD1 #D12CC4
triadic
#8C2CD1 #D18C2C #2CD18C
tetradic
#8C2CD1 #D13A2C #71D12C #2CC4D1
square
#8C2CD1 #D13A2C #71D12C #2CC4D1
split-complementary
#8C2CD1 #C4D12C #2CD13A
monochromatic
#48176C #6A219E #8C2CD1 #A85DDD #C390E8
Accessibility & contrast
On white
6.18
#8C2CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#8C2CD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C2CD1
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C2CD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C2CD1 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ED5
Deuteranopia (green-blind)
#0061CE
Tritanopia (blue-blind)
#7F587F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8c2cd1; /* rgb */ color: rgb(140, 44, 209); /* oklch */ color: oklch(52.3% 0.234 305.9);
Tailwind
colors: {
custom: {
50: '#b471e0',
500: '#8c2cd1',
950: '#000000',
},
}SCSS
$custom: #8c2cd1; $custom-light: #b471e0; $custom-dark: #000000;
JSON
{
"hex": "#8c2cd1",
"rgb": {
"r": 140,
"g": 44,
"b": 209
},
"hsl": {
"h": 274.909,
"s": 65.217,
"l": 49.608
},
"oklch": {
"l": 0.52308,
"c": 0.23416,
"h": 305.9
},
"luminance": 0.1198
}Semantic roles & 50–950 ramp
primary
#8C2CD1
secondary
#A6D287
accent
#E84086
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83