#8745C4#8745C4
#8745C4 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.4% C 0.192 H 304.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #8745C4 |
|---|---|
| RGB | rgb(135, 69, 196) |
| HSL | hsl(271, 52%, 52%) |
| HSV | hsv(271, 65%, 77%) |
| CMYK | cmyk(31.1%, 64.8%, 0%, 23.1%) |
| CIE-LAB | lab(43.35, 51.56, -55.63) |
| CIE-LCH | lch(43.35, 75.85, 312.83°) |
| OKLab | oklab(53.41% 0.1087 -0.1577) |
| OKLCH | oklch(53.41% 0.192 304.6) |
| XYZ | xyz(22.0814, 13.3928, 53.6356) |
| Luminance | 0.1339 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.99
Purply
#983FB2
ΔE00 5.15
Blueviolet
#8A2BE2
ΔE00 5.38
Royal Purple
#7851A9
ΔE00 5.70
Purpley
#8756E4
ΔE00 6.67
Bluish Purple
#703BE7
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8745C4 #82C445
analogous
#4845C4 #8745C4 #C445C2
triadic
#8745C4 #C48745 #45C487
tetradic
#8745C4 #C44845 #82C445 #45C2C4
square
#8745C4 #C44845 #82C445 #45C2C4
split-complementary
#8745C4 #C2C445 #45C448
monochromatic
#49226C #68319B #8745C4 #A573D3 #C3A2E1
Accessibility & contrast
On white
5.71
#8745C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#8745C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8745C4
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8745C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8745C4 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#2066C1
Tritanopia (blue-blind)
#7C607E
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8745c4; /* rgb */ color: rgb(135, 69, 196); /* oklch */ color: oklch(53.4% 0.192 304.6);
Tailwind
colors: {
custom: {
50: '#ae7dd7',
500: '#8745c4',
950: '#000000',
},
}SCSS
$custom: #8745c4; $custom-light: #ae7dd7; $custom-dark: #000000;
JSON
{
"hex": "#8745c4",
"rgb": {
"r": 135,
"g": 69,
"b": 196
},
"hsl": {
"h": 271.181,
"s": 51.837,
"l": 51.961
},
"oklch": {
"l": 0.53406,
"c": 0.19155,
"h": 304.6
},
"luminance": 0.13393
}Semantic roles & 50–950 ramp
primary
#8745C4
secondary
#B1CE97
accent
#DB4D91
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83