#8A49AF#8A49AF
#8A49AF is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.9% C 0.163 H 311.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #8A49AF |
|---|---|
| RGB | rgb(138, 73, 175) |
| HSL | hsl(278, 41%, 49%) |
| HSV | hsv(278, 58%, 69%) |
| CMYK | cmyk(21.1%, 58.3%, 0%, 31.4%) |
| CIE-LAB | lab(43.16, 45.35, -43.62) |
| CIE-LCH | lch(43.16, 62.92, 316.11°) |
| OKLab | oklab(52.93% 0.1083 -0.1224) |
| OKLCH | oklch(52.93% 0.163 311.5) |
| XYZ | xyz(20.6002, 13.2640, 42.0241) |
| Luminance | 0.1326 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.14
Royal Purple
#7851A9
ΔE00 4.29
Medium Purple
#9E43A2
ΔE00 5.58
Darkorchid
#9932CC
ΔE00 5.84
Deep Lavender
#8D5EB7
ΔE00 5.89
Ugly Purple
#A442A0
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A49AF #6EAF49
analogous
#5749AF #8A49AF #AF49A1
triadic
#8A49AF #AF8A49 #49AF8A
tetradic
#8A49AF #AF5749 #6EAF49 #49A1AF
square
#8A49AF #AF5749 #6EAF49 #49A1AF
split-complementary
#8A49AF #A1AF49 #49AF57
monochromatic
#462559 #683784 #8A49AF #A671C4 #C19CD6
Accessibility & contrast
On white
5.75
#8A49AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#8A49AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A49AF
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A49AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A49AF | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2863B2
Deuteranopia (green-blind)
#4167AC
Tritanopia (blue-blind)
#865B75
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8a49af; /* rgb */ color: rgb(138, 73, 175); /* oklch */ color: oklch(52.9% 0.163 311.5);
Tailwind
colors: {
custom: {
50: '#af7fc7',
500: '#8a49af',
950: '#000000',
},
}SCSS
$custom: #8a49af; $custom-light: #af7fc7; $custom-dark: #000000;
JSON
{
"hex": "#8a49af",
"rgb": {
"r": 138,
"g": 73,
"b": 175
},
"hsl": {
"h": 278.235,
"s": 41.129,
"l": 48.627
},
"oklch": {
"l": 0.52927,
"c": 0.16346,
"h": 311.5
},
"luminance": 0.13264
}Semantic roles & 50–950 ramp
primary
#8A49AF
secondary
#A3C291
accent
#D15783
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82