#8C2CCD#8C2CCD
#8C2CCD is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 52.0% C 0.230 H 306.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #8C2CCD |
|---|---|
| RGB | rgb(140, 44, 205) |
| HSL | hsl(276, 65%, 49%) |
| HSV | hsv(276, 79%, 80%) |
| CMYK | cmyk(31.7%, 78.5%, 0%, 19.6%) |
| CIE-LAB | lab(40.87, 65.23, -64.83) |
| CIE-LCH | lch(40.87, 91.97, 315.17°) |
| OKLab | oklab(51.99% 0.1382 -0.1845) |
| OKLCH | oklch(51.99% 0.23 306.8) |
| XYZ | xyz(22.7329, 11.7849, 58.8229) |
| Luminance | 0.1178 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.85
Darkviolet
#9400D3
ΔE00 2.86
Blueviolet
#8A2BE2
ΔE00 2.89
Violet (survey)
#9A0EEA
ΔE00 3.99
Vibrant Purple
#AD03DE
ΔE00 5.35
Vivid Purple
#9900FA
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C2CCD #6DCD2C
analogous
#3B2CCD #8C2CCD #CD2CBE
triadic
#8C2CCD #CD8C2C #2CCD8C
tetradic
#8C2CCD #CD3B2C #6DCD2C #2CBECD
square
#8C2CCD #CD3B2C #6DCD2C #2CBECD
split-complementary
#8C2CCD #BECD2C #2CCD3B
monochromatic
#471668 #6A219B #8C2CCD #A85BDC #C28DE7
Accessibility & contrast
On white
6.26
#8C2CCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#8C2CCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C2CCD
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C2CCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C2CCD | 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)
#005DD1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#81567D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8c2ccd; /* rgb */ color: rgb(140, 44, 205); /* oklch */ color: oklch(52.0% 0.230 306.8);
Tailwind
colors: {
custom: {
50: '#b471dd',
500: '#8c2ccd',
950: '#000000',
},
}SCSS
$custom: #8c2ccd; $custom-light: #b471dd; $custom-dark: #000000;
JSON
{
"hex": "#8c2ccd",
"rgb": {
"r": 140,
"g": 44,
"b": 205
},
"hsl": {
"h": 275.776,
"s": 64.659,
"l": 48.824
},
"oklch": {
"l": 0.51992,
"c": 0.23049,
"h": 306.8
},
"luminance": 0.11785
}Semantic roles & 50–950 ramp
primary
#8C2CCD
secondary
#A3D184
accent
#E84084
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83