#9A4E8D#9A4E8D
#9A4E8D is a mid, vivid pink. Relative luminance 0.142; OKLCH L 53.9% C 0.130 H 334.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #9A4E8D |
|---|---|
| RGB | rgb(154, 78, 141) |
| HSL | hsl(310, 33%, 45%) |
| HSV | hsv(310, 49%, 60%) |
| CMYK | cmyk(0%, 49.4%, 8.4%, 39.6%) |
| CIE-LAB | lab(44.58, 40.47, -20.96) |
| CIE-LCH | lch(44.58, 45.58, 332.62°) |
| OKLab | oklab(53.87% 0.1164 -0.0568) |
| OKLCH | oklch(53.87% 0.13 334) |
| XYZ | xyz(20.8585, 14.2432, 26.8447) |
| Luminance | 0.1424 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpleish
#98568D
ΔE00 2.28
Purplish
#94568C
ΔE00 2.53
Light Eggplant
#894585
ΔE00 4.46
Light Plum
#9D5783
ΔE00 4.79
Ugly Purple
#A442A0
ΔE00 5.05
Medium Purple
#9E43A2
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A4E8D #4E9A5B
analogous
#814E9A #9A4E8D #9A4E67
triadic
#9A4E8D #8D9A4E #4E8D9A
tetradic
#9A4E8D #9A814E #4E9A5B #4E679A
square
#9A4E8D #9A814E #4E9A5B #4E679A
split-complementary
#9A4E8D #679A4E #4E9A81
monochromatic
#492543 #713968 #9A4E8D #B66FAA #CB98C2
Accessibility & contrast
On white
5.46
#9A4E8D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#9A4E8D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A4E8D
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A4E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A4E8D | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D628F
Deuteranopia (green-blind)
#636D8B
Tritanopia (blue-blind)
#A05267
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #9a4e8d; /* rgb */ color: rgb(154, 78, 141); /* oklch */ color: oklch(53.9% 0.130 334.0);
Tailwind
colors: {
custom: {
50: '#b982ae',
500: '#9a4e8d',
950: '#000000',
},
}SCSS
$custom: #9a4e8d; $custom-light: #b982ae; $custom-dark: #000000;
JSON
{
"hex": "#9a4e8d",
"rgb": {
"r": 154,
"g": 78,
"b": 141
},
"hsl": {
"h": 310.263,
"s": 32.759,
"l": 45.49
},
"oklch": {
"l": 0.53874,
"c": 0.12954,
"h": 334
},
"luminance": 0.14242
}Semantic roles & 50–950 ramp
primary
#9A4E8D
secondary
#8DB794
accent
#C9715F
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F