#8949B2#8949B2
#8949B2 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.0% C 0.166 H 310.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #8949B2 |
|---|---|
| RGB | rgb(137, 73, 178) |
| HSL | hsl(277, 42%, 49%) |
| HSV | hsv(277, 59%, 70%) |
| CMYK | cmyk(23%, 59%, 0%, 30.2%) |
| CIE-LAB | lab(43.21, 45.77, -45.31) |
| CIE-LCH | lch(43.21, 64.41, 315.29°) |
| OKLab | oklab(52.99% 0.1071 -0.1274) |
| OKLCH | oklch(52.99% 0.166 310) |
| XYZ | xyz(20.7334, 13.2982, 43.5854) |
| Luminance | 0.1330 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.40
Royal Purple
#7851A9
ΔE00 4.15
Darkorchid
#9932CC
ΔE00 5.52
Deep Lavender
#8D5EB7
ΔE00 5.87
Medium Purple
#9E43A2
ΔE00 6.14
Amethyst
#9B5FC0
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8949B2 #72B249
analogous
#5449B2 #8949B2 #B249A7
triadic
#8949B2 #B28949 #49B289
tetradic
#8949B2 #B25449 #72B249 #49A7B2
square
#8949B2 #B25449 #72B249 #49A7B2
split-complementary
#8949B2 #A7B249 #49B254
monochromatic
#46255B #683787 #8949B2 #A573C5 #C19ED7
Accessibility & contrast
On white
5.74
#8949B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#8949B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8949B2
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8949B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8949B2 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2363B5
Deuteranopia (green-blind)
#3E67AF
Tritanopia (blue-blind)
#845C76
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8949b2; /* rgb */ color: rgb(137, 73, 178); /* oklch */ color: oklch(53.0% 0.166 310.0);
Tailwind
colors: {
custom: {
50: '#ae7fc9',
500: '#8949b2',
950: '#000000',
},
}SCSS
$custom: #8949b2; $custom-light: #ae7fc9; $custom-dark: #000000;
JSON
{
"hex": "#8949b2",
"rgb": {
"r": 137,
"g": 73,
"b": 178
},
"hsl": {
"h": 276.571,
"s": 41.833,
"l": 49.216
},
"oklch": {
"l": 0.52994,
"c": 0.16643,
"h": 310
},
"luminance": 0.13298
}Semantic roles & 50–950 ramp
primary
#8949B2
secondary
#A6C493
accent
#D25686
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82