#902F7B#902F7B
#902F7B is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.5% C 0.157 H 337.5°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #902F7B |
|---|---|
| RGB | rgb(144, 47, 123) |
| HSL | hsl(313, 51%, 37%) |
| HSV | hsv(313, 67%, 56%) |
| CMYK | cmyk(0%, 67.4%, 14.6%, 43.5%) |
| CIE-LAB | lab(36.73, 49.32, -22.20) |
| CIE-LCH | lch(36.73, 54.09, 335.76°) |
| OKLab | oklab(47.52% 0.1452 -0.0602) |
| OKLCH | oklch(47.52% 0.157 337.5) |
| XYZ | xyz(16.0935, 9.3938, 19.7006) |
| Luminance | 0.0939 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.06
Light Eggplant
#894585
ΔE00 5.04
Bruise
#7E4071
ΔE00 5.42
Red Violet
#9E0168
ΔE00 6.20
Barney Purple
#A00498
ΔE00 6.62
Darkmagenta
#8B008B
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902F7B #2F9044
analogous
#752F90 #902F7B #902F4A
triadic
#902F7B #7B902F #2F7B90
tetradic
#902F7B #90752F #2F9044 #2F4A90
square
#902F7B #90752F #2F9044 #2F4A90
split-complementary
#902F7B #4A902F #2F9075
monochromatic
#34112C #622054 #902F7B #BE3EA2 #CF6BB9
Accessibility & contrast
On white
7.30
#902F7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#902F7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902F7B
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902F7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902F7B | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324D7D
Deuteranopia (green-blind)
#515C79
Tritanopia (blue-blind)
#983450
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #902f7b; /* rgb */ color: rgb(144, 47, 123); /* oklch */ color: oklch(47.5% 0.157 337.5);
Tailwind
colors: {
custom: {
50: '#b46fa1',
500: '#902f7b',
950: '#000000',
},
}SCSS
$custom: #902f7b; $custom-light: #b46fa1; $custom-dark: #000000;
JSON
{
"hex": "#902f7b",
"rgb": {
"r": 144,
"g": 47,
"b": 123
},
"hsl": {
"h": 312.99,
"s": 50.785,
"l": 37.451
},
"oklch": {
"l": 0.47521,
"c": 0.15713,
"h": 337.5
},
"luminance": 0.09392
}Semantic roles & 50–950 ramp
primary
#902F7B
secondary
#65B677
accent
#DA6C4E
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080F
muted
#807B7E