#902779#902779
#902779 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.166 H 338.1°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #902779 |
|---|---|
| RGB | rgb(144, 39, 121) |
| HSL | hsl(313, 57%, 36%) |
| HSV | hsv(313, 73%, 56%) |
| CMYK | cmyk(0%, 72.9%, 16%, 43.5%) |
| CIE-LAB | lab(35.52, 52.14, -22.83) |
| CIE-LCH | lch(35.52, 56.92, 336.35°) |
| OKLab | oklab(46.61% 0.1542 -0.0619) |
| OKLCH | oklch(46.61% 0.166 338.1) |
| XYZ | xyz(15.6786, 8.7623, 18.9510) |
| Luminance | 0.0876 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.35
Red Violet
#9E0168
ΔE00 5.51
Barney Purple
#A00498
ΔE00 6.25
Light Eggplant
#894585
ΔE00 6.25
Bruise
#7E4071
ΔE00 6.29
Darkmagenta
#8B008B
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#902779 #27903E
analogous
#722790 #902779 #902744
triadic
#902779 #799027 #277990
tetradic
#902779 #907227 #27903E #274490
square
#902779 #907227 #27903E #274490
split-complementary
#902779 #449027 #279072
monochromatic
#300D28 #601A51 #902779 #C034A1 #D35EBA
Accessibility & contrast
On white
7.63
#902779 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#902779 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #902779
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##902779 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##902779 | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B497B
Deuteranopia (green-blind)
#4E5977
Tritanopia (blue-blind)
#982C4D
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #902779; /* rgb */ color: rgb(144, 39, 121); /* oklch */ color: oklch(46.6% 0.166 338.1);
Tailwind
colors: {
custom: {
50: '#b46ba0',
500: '#902779',
950: '#000000',
},
}SCSS
$custom: #902779; $custom-light: #b46ba0; $custom-dark: #000000;
JSON
{
"hex": "#902779",
"rgb": {
"r": 144,
"g": 39,
"b": 121
},
"hsl": {
"h": 313.143,
"s": 57.377,
"l": 35.882
},
"oklch": {
"l": 0.46611,
"c": 0.16615,
"h": 338.1
},
"luminance": 0.08761
}Semantic roles & 50–950 ramp
primary
#902779
secondary
#5AB96F
accent
#E16947
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E