#8C2CBD#8C2CBD
#8C2CBD is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.8% C 0.216 H 311.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #8C2CBD |
|---|---|
| RGB | rgb(140, 44, 189) |
| HSL | hsl(280, 62%, 46%) |
| HSV | hsv(280, 77%, 74%) |
| CMYK | cmyk(25.9%, 76.7%, 0%, 25.9%) |
| CIE-LAB | lab(39.67, 61.84, -57.46) |
| CIE-LCH | lch(39.67, 84.42, 317.10°) |
| OKLab | oklab(50.77% 0.1417 -0.1628) |
| OKLCH | oklch(50.77% 0.216 311) |
| XYZ | xyz(20.8994, 11.0515, 49.1664) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.45
Darkviolet
#9400D3
ΔE00 3.70
Purply
#983FB2
ΔE00 5.13
Blueviolet
#8A2BE2
ΔE00 5.25
Purple (survey)
#7E1E9C
ΔE00 5.98
Violet (survey)
#9A0EEA
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C2CBD #5DBD2C
analogous
#432CBD #8C2CBD #BD2CA5
triadic
#8C2CBD #BD8C2C #2CBD8C
tetradic
#8C2CBD #BD432C #5DBD2C #2CA5BD
square
#8C2CBD #BD432C #5DBD2C #2CA5BD
split-complementary
#8C2CBD #A5BD2C #2CBD43
monochromatic
#42155A #67208B #8C2CBD #A950D6 #C182E2
Accessibility & contrast
On white
6.54
#8C2CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#8C2CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C2CBD
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C2CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C2CBD | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#075FBA
Tritanopia (blue-blind)
#854F74
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8c2cbd; /* rgb */ color: rgb(140, 44, 189); /* oklch */ color: oklch(50.8% 0.216 311.0);
Tailwind
colors: {
custom: {
50: '#b370d2',
500: '#8c2cbd',
950: '#000000',
},
}SCSS
$custom: #8c2cbd; $custom-light: #b370d2; $custom-dark: #000000;
JSON
{
"hex": "#8c2cbd",
"rgb": {
"r": 140,
"g": 44,
"b": 189
},
"hsl": {
"h": 279.724,
"s": 62.232,
"l": 45.686
},
"oklch": {
"l": 0.5077,
"c": 0.21582,
"h": 311
},
"luminance": 0.11051
}Semantic roles & 50–950 ramp
primary
#8C2CBD
secondary
#95CB7A
accent
#E5427A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83