#8945C5#8945C5
#8945C5 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.7% C 0.193 H 305.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8945C5 |
|---|---|
| RGB | rgb(137, 69, 197) |
| HSL | hsl(272, 52%, 52%) |
| HSV | hsv(272, 65%, 77%) |
| CMYK | cmyk(30.5%, 65%, 0%, 22.7%) |
| CIE-LAB | lab(43.66, 52.23, -55.69) |
| CIE-LCH | lch(43.66, 76.35, 313.16°) |
| OKLab | oklab(53.71% 0.1113 -0.1579) |
| OKLCH | oklch(53.71% 0.193 305.2) |
| XYZ | xyz(22.5205, 13.6060, 54.2523) |
| Luminance | 0.1361 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.75
Purply
#983FB2
ΔE00 4.97
Blueviolet
#8A2BE2
ΔE00 5.35
Royal Purple
#7851A9
ΔE00 5.91
Purpley
#8756E4
ΔE00 6.57
Bluish Purple
#703BE7
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8945C5 #81C545
analogous
#4945C5 #8945C5 #C545C1
triadic
#8945C5 #C58945 #45C589
tetradic
#8945C5 #C54945 #81C545 #45C1C5
square
#8945C5 #C54945 #81C545 #45C1C5
split-complementary
#8945C5 #C1C545 #45C549
monochromatic
#4A226D #6A319C #8945C5 #A774D4 #C4A2E2
Accessibility & contrast
On white
5.64
#8945C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#8945C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8945C5
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8945C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8945C5 | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#2267C2
Tritanopia (blue-blind)
#7E607F
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8945c5; /* rgb */ color: rgb(137, 69, 197); /* oklch */ color: oklch(53.7% 0.193 305.2);
Tailwind
colors: {
custom: {
50: '#b07dd7',
500: '#8945c5',
950: '#000000',
},
}SCSS
$custom: #8945c5; $custom-light: #b07dd7; $custom-dark: #000000;
JSON
{
"hex": "#8945c5",
"rgb": {
"r": 137,
"g": 69,
"b": 197
},
"hsl": {
"h": 271.875,
"s": 52.459,
"l": 52.157
},
"oklch": {
"l": 0.53708,
"c": 0.19313,
"h": 305.2
},
"luminance": 0.13606
}Semantic roles & 50–950 ramp
primary
#8945C5
secondary
#B1CF97
accent
#DC4C8F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83