#902F7F#902F7F
#902F7F is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.7% C 0.160 H 335.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #902F7F |
|---|---|
| RGB | rgb(144, 47, 127) |
| HSL | hsl(311, 51%, 37%) |
| HSV | hsv(311, 67%, 56%) |
| CMYK | cmyk(0%, 67.4%, 11.8%, 43.5%) |
| CIE-LAB | lab(36.92, 49.96, -24.39) |
| CIE-LCH | lch(36.92, 55.59, 333.97°) |
| OKLab | oklab(47.72% 0.1457 -0.0664) |
| OKLCH | oklch(47.72% 0.16 335.5) |
| XYZ | xyz(16.3491, 9.4960, 21.0464) |
| Luminance | 0.0950 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.17
Light Eggplant
#894585
ΔE00 4.81
Bruise
#7E4071
ΔE00 5.81
Barney Purple
#A00498
ΔE00 5.90
Darkmagenta
#8B008B
ΔE00 6.48
Red Violet
#9E0168
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902F7F #2F9040
analogous
#702F90 #902F7F #902F4F
triadic
#902F7F #7F902F #2F7F90
tetradic
#902F7F #90702F #2F9040 #2F4F90
square
#902F7F #90702F #2F9040 #2F4F90
split-complementary
#902F7F #4F902F #2F9070
monochromatic
#34112E #622056 #902F7F #BE3EA8 #CF6BBD
Accessibility & contrast
On white
7.24
#902F7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#902F7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902F7F
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902F7F | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4E81
Deuteranopia (green-blind)
#4F5C7D
Tritanopia (blue-blind)
#973553
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #902f7f; /* rgb */ color: rgb(144, 47, 127); /* oklch */ color: oklch(47.7% 0.160 335.5);
Tailwind
colors: {
custom: {
50: '#b36fa4',
500: '#902f7f',
950: '#000000',
},
}SCSS
$custom: #902f7f; $custom-light: #b36fa4; $custom-dark: #000000;
JSON
{
"hex": "#902f7f",
"rgb": {
"r": 144,
"g": 47,
"b": 127
},
"hsl": {
"h": 310.515,
"s": 50.785,
"l": 37.451
},
"oklch": {
"l": 0.47721,
"c": 0.16016,
"h": 335.5
},
"luminance": 0.09495
}Semantic roles & 50–950 ramp
primary
#902F7F
secondary
#65B673
accent
#DA664E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F