#8746CC#8746CC
#8746CC is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.1% C 0.199 H 302.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #8746CC |
|---|---|
| RGB | rgb(135, 70, 204) |
| HSL | hsl(269, 57%, 54%) |
| HSV | hsv(269, 66%, 80%) |
| CMYK | cmyk(33.8%, 65.7%, 0%, 20%) |
| CIE-LAB | lab(44.08, 52.98, -59.09) |
| CIE-LCH | lch(44.08, 79.36, 311.88°) |
| OKLab | oklab(54.1% 0.1068 -0.1679) |
| OKLCH | oklch(54.1% 0.199 302.5) |
| XYZ | xyz(23.0784, 13.8908, 58.5804) |
| Luminance | 0.1389 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.23
Blueviolet
#8A2BE2
ΔE00 4.82
Purpley
#8756E4
ΔE00 5.57
Bluish Purple
#703BE7
ΔE00 5.87
Purply
#983FB2
ΔE00 6.14
Royal Purple
#7851A9
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8746CC #8BCC46
analogous
#4648CC #8746CC #CA46CC
triadic
#8746CC #CC8746 #46CC87
tetradic
#8746CC #CC4648 #8BCC46 #46CCCA
square
#8746CC #CC4648 #8BCC46 #46CCCA
split-complementary
#8746CC #CCCA46 #48CC46
monochromatic
#4B2177 #692EA7 #8746CC #A676D9 #C5A6E6
Accessibility & contrast
On white
5.56
#8746CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#8746CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8746CC
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8746CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8746CC | 1.00 | 5.56 | 3.78 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#0D68C9
Tritanopia (blue-blind)
#796483
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8746cc; /* rgb */ color: rgb(135, 70, 204); /* oklch */ color: oklch(54.1% 0.199 302.5);
Tailwind
colors: {
custom: {
50: '#af7edc',
500: '#8746cc',
950: '#000000',
},
}SCSS
$custom: #8746cc; $custom-light: #af7edc; $custom-dark: #000000;
JSON
{
"hex": "#8746cc",
"rgb": {
"r": 135,
"g": 70,
"b": 204
},
"hsl": {
"h": 269.104,
"s": 56.78,
"l": 53.725
},
"oklch": {
"l": 0.54103,
"c": 0.19901,
"h": 302.5
},
"luminance": 0.13891
}Semantic roles & 50–950 ramp
primary
#8746CC
secondary
#B8D49A
accent
#E04896
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83