#8745CB#8745CB
#8745CB is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.9% C 0.199 H 302.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #8745CB |
|---|---|
| RGB | rgb(135, 69, 203) |
| HSL | hsl(270, 56%, 53%) |
| HSV | hsv(270, 66%, 80%) |
| CMYK | cmyk(33.5%, 66%, 0%, 20.4%) |
| CIE-LAB | lab(43.83, 53.24, -58.91) |
| CIE-LCH | lch(43.83, 79.40, 312.10°) |
| OKLab | oklab(53.9% 0.108 -0.1674) |
| OKLCH | oklch(53.9% 0.199 302.8) |
| XYZ | xyz(22.8968, 13.7189, 57.9301) |
| Luminance | 0.1372 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.06
Blueviolet
#8A2BE2
ΔE00 4.73
Purpley
#8756E4
ΔE00 5.85
Bluish Purple
#703BE7
ΔE00 5.89
Purply
#983FB2
ΔE00 5.98
Royal Purple
#7851A9
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8745CB #89CB45
analogous
#4546CB #8745CB #CA45CB
triadic
#8745CB #CB8745 #45CB87
tetradic
#8745CB #CB4546 #89CB45 #45CBCA
square
#8745CB #CB4546 #89CB45 #45CBCA
split-complementary
#8745CB #CBCA45 #46CB45
monochromatic
#4A2175 #692EA5 #8745CB #A675D8 #C5A5E6
Accessibility & contrast
On white
5.61
#8745CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#8745CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8745CB
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8745CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8745CB | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#0D67C8
Tritanopia (blue-blind)
#796382
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8745cb; /* rgb */ color: rgb(135, 69, 203); /* oklch */ color: oklch(53.9% 0.199 302.8);
Tailwind
colors: {
custom: {
50: '#af7ddc',
500: '#8745cb',
950: '#000000',
},
}SCSS
$custom: #8745cb; $custom-light: #af7ddc; $custom-dark: #000000;
JSON
{
"hex": "#8745cb",
"rgb": {
"r": 135,
"g": 69,
"b": 203
},
"hsl": {
"h": 269.552,
"s": 56.303,
"l": 53.333
},
"oklch": {
"l": 0.53902,
"c": 0.19922,
"h": 302.8
},
"luminance": 0.13719
}Semantic roles & 50–950 ramp
primary
#8745CB
secondary
#B6D399
accent
#E04895
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83