#8945AF#8945AF
#8945AF is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.2% C 0.169 H 311.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #8945AF |
|---|---|
| RGB | rgb(137, 69, 175) |
| HSL | hsl(278, 43%, 48%) |
| HSV | hsv(278, 61%, 69%) |
| CMYK | cmyk(21.7%, 60.6%, 0%, 31.4%) |
| CIE-LAB | lab(42.26, 47.16, -45.06) |
| CIE-LCH | lch(42.26, 65.22, 316.31°) |
| OKLab | oklab(52.25% 0.1122 -0.1267) |
| OKLCH | oklch(52.25% 0.169 311.5) |
| XYZ | xyz(20.1811, 12.6702, 41.9316) |
| Luminance | 0.1267 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.96
Royal Purple
#7851A9
ΔE00 4.66
Darkorchid
#9932CC
ΔE00 5.35
Medium Purple
#9E43A2
ΔE00 5.79
Deep Lavender
#8D5EB7
ΔE00 6.86
Barney
#AC1DB8
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8945AF #6BAF45
analogous
#5445AF #8945AF #AF45A0
triadic
#8945AF #AF8945 #45AF89
tetradic
#8945AF #AF5445 #6BAF45 #45A0AF
square
#8945AF #AF5445 #6BAF45 #45A0AF
split-complementary
#8945AF #A0AF45 #45AF54
monochromatic
#442257 #673483 #8945AF #A56CC5 #C098D6
Accessibility & contrast
On white
5.94
#8945AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#8945AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8945AF
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8945AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8945AF | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E60B2
Deuteranopia (green-blind)
#3C65AC
Tritanopia (blue-blind)
#855973
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8945af; /* rgb */ color: rgb(137, 69, 175); /* oklch */ color: oklch(52.2% 0.169 311.5);
Tailwind
colors: {
custom: {
50: '#ae7cc7',
500: '#8945af',
950: '#000000',
},
}SCSS
$custom: #8945af; $custom-light: #ae7cc7; $custom-dark: #000000;
JSON
{
"hex": "#8945af",
"rgb": {
"r": 137,
"g": 69,
"b": 175
},
"hsl": {
"h": 278.491,
"s": 43.443,
"l": 47.843
},
"oklch": {
"l": 0.52246,
"c": 0.16918,
"h": 311.5
},
"luminance": 0.1267
}Semantic roles & 50–950 ramp
primary
#8945AF
secondary
#A0C28D
accent
#D35582
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82