#8C46BB#8C46BB
#8C46BB is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.182 H 309.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #8C46BB |
|---|---|
| RGB | rgb(140, 70, 187) |
| HSL | hsl(276, 46%, 50%) |
| HSV | hsv(276, 63%, 73%) |
| CMYK | cmyk(25.1%, 62.6%, 0%, 26.7%) |
| CIE-LAB | lab(43.57, 50.10, -49.99) |
| CIE-LCH | lch(43.57, 70.77, 315.06°) |
| OKLab | oklab(53.52% 0.1146 -0.141) |
| OKLCH | oklch(53.52% 0.182 309.1) |
| XYZ | xyz(21.9732, 13.5440, 48.4608) |
| Luminance | 0.1354 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.36
Darkorchid
#9932CC
ΔE00 4.08
Royal Purple
#7851A9
ΔE00 5.26
Deep Lavender
#8D5EB7
ΔE00 6.45
Medium Purple
#9E43A2
ΔE00 6.82
Blueviolet
#8A2BE2
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C46BB #75BB46
analogous
#5146BB #8C46BB #BB46B0
triadic
#8C46BB #BB8C46 #46BB8C
tetradic
#8C46BB #BB5146 #75BB46 #46B0BB
square
#8C46BB #BB5146 #75BB46 #46B0BB
split-complementary
#8C46BB #B0BB46 #46BB51
monochromatic
#492462 #6B358F #8C46BB #A873CB #C4A0DC
Accessibility & contrast
On white
5.66
#8C46BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#8C46BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8C46BB
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C46BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C46BB | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0964BF
Deuteranopia (green-blind)
#3568B8
Tritanopia (blue-blind)
#855D7A
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8c46bb; /* rgb */ color: rgb(140, 70, 187); /* oklch */ color: oklch(53.5% 0.182 309.1);
Tailwind
colors: {
custom: {
50: '#b17dd0',
500: '#8c46bb',
950: '#000000',
},
}SCSS
$custom: #8c46bb; $custom-light: #b17dd0; $custom-dark: #000000;
JSON
{
"hex": "#8c46bb",
"rgb": {
"r": 140,
"g": 70,
"b": 187
},
"hsl": {
"h": 275.897,
"s": 46.245,
"l": 50.392
},
"oklch": {
"l": 0.53517,
"c": 0.18173,
"h": 309.1
},
"luminance": 0.13544
}Semantic roles & 50–950 ramp
primary
#8C46BB
secondary
#A9C894
accent
#D65287
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82