#8C49CB#8C49CB
#8C49CB is a mid, vivid violet. Relative luminance 0.147; OKLCH L 55.0% C 0.195 H 304.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #8C49CB |
|---|---|
| RGB | rgb(140, 73, 203) |
| HSL | hsl(271, 56%, 54%) |
| HSV | hsv(271, 64%, 80%) |
| CMYK | cmyk(31%, 64%, 0%, 20.4%) |
| CIE-LAB | lab(45.15, 52.32, -56.74) |
| CIE-LCH | lch(45.15, 77.18, 312.68°) |
| OKLab | oklab(54.99% 0.1102 -0.1608) |
| OKLCH | oklch(54.99% 0.195 304.4) |
| XYZ | xyz(23.9748, 14.6524, 58.0535) |
| Luminance | 0.1465 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.24
Purpley
#8756E4
ΔE00 5.29
Purply
#983FB2
ΔE00 5.60
Blueviolet
#8A2BE2
ΔE00 5.68
Royal Purple
#7851A9
ΔE00 6.44
Deep Lavender
#8D5EB7
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C49CB #88CB49
analogous
#4B49CB #8C49CB #CB49C9
triadic
#8C49CB #CB8C49 #49CB8C
tetradic
#8C49CB #CB4B49 #88CB49 #49C9CB
square
#8C49CB #CB4B49 #88CB49 #49C9CB
split-complementary
#8C49CB #C9CB49 #49CB4B
monochromatic
#4E2277 #6D30A7 #8C49CB #AA79D9 #C8A8E6
Accessibility & contrast
On white
5.34
#8C49CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#8C49CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C49CB
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C49CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C49CB | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#246BC8
Tritanopia (blue-blind)
#806583
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8c49cb; /* rgb */ color: rgb(140, 73, 203); /* oklch */ color: oklch(55.0% 0.195 304.4);
Tailwind
colors: {
custom: {
50: '#b280dc',
500: '#8c49cb',
950: '#000000',
},
}SCSS
$custom: #8c49cb; $custom-light: #b280dc; $custom-dark: #000000;
JSON
{
"hex": "#8c49cb",
"rgb": {
"r": 140,
"g": 73,
"b": 203
},
"hsl": {
"h": 270.923,
"s": 55.556,
"l": 54.118
},
"oklch": {
"l": 0.54991,
"c": 0.19498,
"h": 304.4
},
"luminance": 0.14652
}Semantic roles & 50–950 ramp
primary
#8C49CB
secondary
#B7D49C
accent
#DF4992
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83