#8945C8#8945C8
#8945C8 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.9% C 0.196 H 304.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #8945C8 |
|---|---|
| RGB | rgb(137, 69, 200) |
| HSL | hsl(271, 54%, 53%) |
| HSV | hsv(271, 66%, 78%) |
| CMYK | cmyk(31.5%, 65.5%, 0%, 21.6%) |
| CIE-LAB | lab(43.86, 52.94, -57.10) |
| CIE-LCH | lch(43.86, 77.87, 312.83°) |
| OKLab | oklab(53.92% 0.111 -0.162) |
| OKLCH | oklch(53.92% 0.196 304.4) |
| XYZ | xyz(22.8676, 13.7448, 56.0807) |
| Luminance | 0.1374 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.76
Blueviolet
#8A2BE2
ΔE00 5.06
Purply
#983FB2
ΔE00 5.34
Purpley
#8756E4
ΔE00 6.20
Royal Purple
#7851A9
ΔE00 6.21
Bluish Purple
#703BE7
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8945C8 #84C845
analogous
#4745C8 #8945C8 #C845C6
triadic
#8945C8 #C88945 #45C889
tetradic
#8945C8 #C84745 #84C845 #45C6C8
square
#8945C8 #C84745 #84C845 #45C6C8
split-complementary
#8945C8 #C6C845 #45C847
monochromatic
#4B2171 #6A2FA0 #8945C8 #A774D6 #C5A3E4
Accessibility & contrast
On white
5.60
#8945C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#8945C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8945C8
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8945C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8945C8 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#1C68C5
Tritanopia (blue-blind)
#7D6281
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8945c8; /* rgb */ color: rgb(137, 69, 200); /* oklch */ color: oklch(53.9% 0.196 304.4);
Tailwind
colors: {
custom: {
50: '#b07dd9',
500: '#8945c8',
950: '#000000',
},
}SCSS
$custom: #8945c8; $custom-light: #b07dd9; $custom-dark: #000000;
JSON
{
"hex": "#8945c8",
"rgb": {
"r": 137,
"g": 69,
"b": 200
},
"hsl": {
"h": 271.145,
"s": 54.357,
"l": 52.745
},
"oklch": {
"l": 0.53917,
"c": 0.19639,
"h": 304.4
},
"luminance": 0.13745
}Semantic roles & 50–950 ramp
primary
#8945C8
secondary
#B3D198
accent
#DE4A91
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83