#902A7D#902A7D
#902A7D is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.165 H 336.3°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #902A7D |
|---|---|
| RGB | rgb(144, 42, 125) |
| HSL | hsl(311, 55%, 36%) |
| HSV | hsv(311, 71%, 56%) |
| CMYK | cmyk(0%, 70.8%, 13.2%, 43.5%) |
| CIE-LAB | lab(36.11, 51.63, -24.41) |
| CIE-LCH | lch(36.11, 57.11, 334.69°) |
| OKLab | oklab(47.1% 0.1514 -0.0664) |
| OKLCH | oklch(47.1% 0.165 336.3) |
| XYZ | xyz(16.0315, 9.0673, 20.3039) |
| Luminance | 0.0907 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.50
Light Eggplant
#894585
ΔE00 5.63
Barney Purple
#A00498
ΔE00 5.73
Darkmagenta
#8B008B
ΔE00 6.01
Bruise
#7E4071
ΔE00 6.23
Red Violet
#9E0168
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902A7D #2A903D
analogous
#702A90 #902A7D #902A4A
triadic
#902A7D #7D902A #2A7D90
tetradic
#902A7D #90702A #2A903D #2A4A90
square
#902A7D #90702A #2A903D #2A4A90
split-complementary
#902A7D #4A902A #2A9070
monochromatic
#310E2B #611C54 #902A7D #BF38A6 #D163BD
Accessibility & contrast
On white
7.46
#902A7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#902A7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902A7D
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902A7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902A7D | 1.00 | 7.46 | 2.81 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4B7F
Deuteranopia (green-blind)
#4E5A7B
Tritanopia (blue-blind)
#973050
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #902a7d; /* rgb */ color: rgb(144, 42, 125); /* oklch */ color: oklch(47.1% 0.165 336.3);
Tailwind
colors: {
custom: {
50: '#b46da3',
500: '#902a7d',
950: '#000000',
},
}SCSS
$custom: #902a7d; $custom-light: #b46da3; $custom-dark: #000000;
JSON
{
"hex": "#902a7d",
"rgb": {
"r": 144,
"g": 42,
"b": 125
},
"hsl": {
"h": 311.176,
"s": 54.839,
"l": 36.471
},
"oklch": {
"l": 0.47102,
"c": 0.16531,
"h": 336.3
},
"luminance": 0.09066
}Semantic roles & 50–950 ramp
primary
#902A7D
secondary
#5EB76F
accent
#DE654A
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11080F
muted
#807B7F