#8945B3#8945B3
#8945B3 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.5% C 0.174 H 310.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #8945B3 |
|---|---|
| RGB | rgb(137, 69, 179) |
| HSL | hsl(277, 44%, 49%) |
| HSV | hsv(277, 61%, 70%) |
| CMYK | cmyk(23.5%, 61.5%, 0%, 29.8%) |
| CIE-LAB | lab(42.51, 48.06, -47.03) |
| CIE-LCH | lch(42.51, 67.24, 315.62°) |
| OKLab | oklab(52.5% 0.1121 -0.1324) |
| OKLCH | oklch(52.5% 0.174 310.3) |
| XYZ | xyz(20.5798, 12.8297, 44.0313) |
| Luminance | 0.1283 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.13
Royal Purple
#7851A9
ΔE00 4.70
Darkorchid
#9932CC
ΔE00 4.87
Medium Purple
#9E43A2
ΔE00 6.28
Deep Lavender
#8D5EB7
ΔE00 6.79
Barney
#AC1DB8
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8945B3 #6FB345
analogous
#5245B3 #8945B3 #B345A6
triadic
#8945B3 #B38945 #45B389
tetradic
#8945B3 #B35245 #6FB345 #45A6B3
square
#8945B3 #B35245 #6FB345 #45A6B3
split-complementary
#8945B3 #A6B345 #45B352
monochromatic
#45235B #673487 #8945B3 #A56EC7 #C19AD8
Accessibility & contrast
On white
5.89
#8945B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#8945B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8945B3
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8945B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8945B3 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1761B6
Deuteranopia (green-blind)
#3965B0
Tritanopia (blue-blind)
#845A75
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8945b3; /* rgb */ color: rgb(137, 69, 179); /* oklch */ color: oklch(52.5% 0.174 310.3);
Tailwind
colors: {
custom: {
50: '#af7cca',
500: '#8945b3',
950: '#000000',
},
}SCSS
$custom: #8945b3; $custom-light: #af7cca; $custom-dark: #000000;
JSON
{
"hex": "#8945b3",
"rgb": {
"r": 137,
"g": 69,
"b": 179
},
"hsl": {
"h": 277.091,
"s": 44.355,
"l": 48.627
},
"oklch": {
"l": 0.52501,
"c": 0.17353,
"h": 310.3
},
"luminance": 0.12829
}Semantic roles & 50–950 ramp
primary
#8945B3
secondary
#A4C48F
accent
#D45485
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82