#8756CA#8756CA
#8756CA is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.2% C 0.174 H 300.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8756CA |
|---|---|
| RGB | rgb(135, 86, 202) |
| HSL | hsl(265, 52%, 56%) |
| HSV | hsv(265, 57%, 79%) |
| CMYK | cmyk(33.2%, 57.4%, 0%, 20.8%) |
| CIE-LAB | lab(47.07, 44.09, -53.11) |
| CIE-LCH | lch(47.07, 69.03, 309.70°) |
| OKLab | oklab(56.23% 0.0881 -0.1504) |
| OKLCH | oklch(56.23% 0.174 300.4) |
| XYZ | xyz(23.9776, 16.0706, 57.7044) |
| Luminance | 0.1607 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.94
Deep Lavender
#8D5EB7
ΔE00 4.68
Light Indigo
#6D5ACF
ΔE00 5.48
Amethyst
#9B5FC0
ΔE00 5.84
Royal Purple
#7851A9
ΔE00 5.96
Slate Blue
#6A5ACD
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8756CA #99CA56
analogous
#565FCA #8756CA #C156CA
triadic
#8756CA #CA8756 #56CA87
tetradic
#8756CA #CA565F #99CA56 #56CAC1
square
#8756CA #CA565F #99CA56 #56CAC1
split-complementary
#8756CA #CAC156 #5FCA56
monochromatic
#4C287E #6836AD #8756CA #A885D9 #C9B3E7
Accessibility & contrast
On white
4.98
#8756CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#8756CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8756CA
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8756CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8756CA | 1.00 | 4.98 | 4.21 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F6FCE
Deuteranopia (green-blind)
#346FC7
Tritanopia (blue-blind)
#796E88
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8756ca; /* rgb */ color: rgb(135, 86, 202); /* oklch */ color: oklch(56.2% 0.174 300.4);
Tailwind
colors: {
custom: {
50: '#ae87db',
500: '#8756ca',
950: '#000000',
},
}SCSS
$custom: #8756ca; $custom-light: #ae87db; $custom-dark: #000000;
JSON
{
"hex": "#8756ca",
"rgb": {
"r": 135,
"g": 86,
"b": 202
},
"hsl": {
"h": 265.345,
"s": 52.252,
"l": 56.471
},
"oklch": {
"l": 0.56234,
"c": 0.1743,
"h": 300.4
},
"luminance": 0.16071
}Semantic roles & 50–950 ramp
primary
#8756CA
secondary
#C2D6A6
accent
#DC4C9F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83