#8745C8#8745C8
#8745C8 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.7% C 0.196 H 303.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #8745C8 |
|---|---|
| RGB | rgb(135, 69, 200) |
| HSL | hsl(270, 54%, 53%) |
| HSV | hsv(270, 66%, 78%) |
| CMYK | cmyk(32.5%, 65.5%, 0%, 21.6%) |
| CIE-LAB | lab(43.62, 52.51, -57.51) |
| CIE-LCH | lch(43.62, 77.88, 312.40°) |
| OKLab | oklab(53.69% 0.1083 -0.1633) |
| OKLCH | oklch(53.69% 0.196 303.6) |
| XYZ | xyz(22.5427, 13.5773, 56.0655) |
| Luminance | 0.1358 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.99
Blueviolet
#8A2BE2
ΔE00 4.98
Purply
#983FB2
ΔE00 5.62
Royal Purple
#7851A9
ΔE00 6.12
Purpley
#8756E4
ΔE00 6.19
Bluish Purple
#703BE7
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8745C8 #86C845
analogous
#4545C8 #8745C8 #C845C8
triadic
#8745C8 #C88745 #45C887
tetradic
#8745C8 #C84545 #86C845 #45C8C8
square
#8745C8 #C84545 #86C845 #45C8C8
split-complementary
#8745C8 #C8C845 #45C845
monochromatic
#4A2171 #682FA0 #8745C8 #A574D6 #C4A3E4
Accessibility & contrast
On white
5.65
#8745C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#8745C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8745C8
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8745C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8745C8 | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#1767C5
Tritanopia (blue-blind)
#7B6281
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8745c8; /* rgb */ color: rgb(135, 69, 200); /* oklch */ color: oklch(53.7% 0.196 303.6);
Tailwind
colors: {
custom: {
50: '#af7dd9',
500: '#8745c8',
950: '#000000',
},
}SCSS
$custom: #8745c8; $custom-light: #af7dd9; $custom-dark: #000000;
JSON
{
"hex": "#8745c8",
"rgb": {
"r": 135,
"g": 69,
"b": 200
},
"hsl": {
"h": 270.229,
"s": 54.357,
"l": 52.745
},
"oklch": {
"l": 0.53688,
"c": 0.19594,
"h": 303.6
},
"luminance": 0.13577
}Semantic roles & 50–950 ramp
primary
#8745C8
secondary
#B4D198
accent
#DE4A93
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83