#8945CA#8945CA
#8945CA is a mid, vivid violet. Relative luminance 0.138; OKLCH L 54.1% C 0.199 H 303.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #8945CA |
|---|---|
| RGB | rgb(137, 69, 202) |
| HSL | hsl(271, 56%, 53%) |
| HSV | hsv(271, 66%, 79%) |
| CMYK | cmyk(32.2%, 65.8%, 0%, 20.8%) |
| CIE-LAB | lab(44.00, 53.42, -58.04) |
| CIE-LCH | lch(44.00, 78.88, 312.62°) |
| OKLab | oklab(54.06% 0.1108 -0.1648) |
| OKLCH | oklch(54.06% 0.199 303.9) |
| XYZ | xyz(23.1029, 13.8389, 57.3197) |
| Luminance | 0.1384 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.80
Blueviolet
#8A2BE2
ΔE00 4.89
Purply
#983FB2
ΔE00 5.59
Purpley
#8756E4
ΔE00 5.96
Bluish Purple
#703BE7
ΔE00 6.28
Royal Purple
#7851A9
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8945CA #86CA45
analogous
#4645CA #8945CA #CA45C8
triadic
#8945CA #CA8945 #45CA89
tetradic
#8945CA #CA4645 #86CA45 #45C8CA
square
#8945CA #CA4645 #86CA45 #45C8CA
split-complementary
#8945CA #C8CA45 #45CA46
monochromatic
#4B2174 #6A2FA3 #8945CA #A775D8 #C5A4E5
Accessibility & contrast
On white
5.57
#8945CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#8945CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8945CA
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8945CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8945CA | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#1768C7
Tritanopia (blue-blind)
#7D6282
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8945ca; /* rgb */ color: rgb(137, 69, 202); /* oklch */ color: oklch(54.1% 0.199 303.9);
Tailwind
colors: {
custom: {
50: '#b07ddb',
500: '#8945ca',
950: '#000000',
},
}SCSS
$custom: #8945ca; $custom-light: #b07ddb; $custom-dark: #000000;
JSON
{
"hex": "#8945ca",
"rgb": {
"r": 137,
"g": 69,
"b": 202
},
"hsl": {
"h": 270.677,
"s": 55.649,
"l": 53.137
},
"oklch": {
"l": 0.54059,
"c": 0.19856,
"h": 303.9
},
"luminance": 0.13839
}Semantic roles & 50–950 ramp
primary
#8945CA
secondary
#B5D299
accent
#DF4992
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83