#902F7D#902F7D
#902F7D is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.159 H 336.5°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #902F7D |
|---|---|
| RGB | rgb(144, 47, 125) |
| HSL | hsl(312, 51%, 37%) |
| HSV | hsv(312, 67%, 56%) |
| CMYK | cmyk(0%, 67.4%, 13.2%, 43.5%) |
| CIE-LAB | lab(36.83, 49.64, -23.30) |
| CIE-LCH | lch(36.83, 54.83, 334.85°) |
| OKLab | oklab(47.62% 0.1455 -0.0633) |
| OKLCH | oklch(47.62% 0.159 336.5) |
| XYZ | xyz(16.2200, 9.4444, 20.3667) |
| Luminance | 0.0944 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.61
Light Eggplant
#894585
ΔE00 4.90
Bruise
#7E4071
ΔE00 5.60
Barney Purple
#A00498
ΔE00 6.25
Red Violet
#9E0168
ΔE00 6.52
Darkmagenta
#8B008B
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902F7D #2F9042
analogous
#732F90 #902F7D #902F4C
triadic
#902F7D #7D902F #2F7D90
tetradic
#902F7D #90732F #2F9042 #2F4C90
square
#902F7D #90732F #2F9042 #2F4C90
split-complementary
#902F7D #4C902F #2F9073
monochromatic
#34112D #622055 #902F7D #BE3EA5 #CF6BBB
Accessibility & contrast
On white
7.27
#902F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#902F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902F7D
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902F7D | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314D7F
Deuteranopia (green-blind)
#505C7B
Tritanopia (blue-blind)
#973451
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #902f7d; /* rgb */ color: rgb(144, 47, 125); /* oklch */ color: oklch(47.6% 0.159 336.5);
Tailwind
colors: {
custom: {
50: '#b36fa3',
500: '#902f7d',
950: '#000000',
},
}SCSS
$custom: #902f7d; $custom-light: #b36fa3; $custom-dark: #000000;
JSON
{
"hex": "#902f7d",
"rgb": {
"r": 144,
"g": 47,
"b": 125
},
"hsl": {
"h": 311.753,
"s": 50.785,
"l": 37.451
},
"oklch": {
"l": 0.4762,
"c": 0.15864,
"h": 336.5
},
"luminance": 0.09443
}Semantic roles & 50–950 ramp
primary
#902F7D
secondary
#65B675
accent
#DA694E
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F