#902889#902889

#902889 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.177 H 330.9°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#902889
RGBrgb(144, 40, 137)
HSLhsl(304, 57%, 36%)
HSVhsv(304, 72%, 56%)
CMYKcmyk(0%, 72.2%, 4.9%, 43.5%)
CIE-LABlab(36.47, 54.31, -31.29)
CIE-LCHlch(36.47, 62.68, 330.05°)
OKLaboklab(47.56% 0.1546 -0.0862)
OKLCHoklch(47.56% 0.177 330.9)
XYZxyz(16.7757, 9.2543, 24.5648)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902889 #28902F
analogous
#632890 #902889 #902855
triadic
#902889 #899028 #288990
tetradic
#902889 #906328 #28902F #285590
square
#902889 #906328 #28902F #285590
split-complementary
#902889 #559028 #289063
monochromatic
#300D2E #601B5B #902889 #C035B7 #D360CB

Accessibility & contrast

On white

7.37
#902889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#902889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902889
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902889#FFFFFF#000000##FFFFFF
##9028891.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4D8C
Deuteranopia (green-blind)
#475B86
Tritanopia (blue-blind)
#963456
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #902889;
/* rgb */ color: rgb(144, 40, 137);
/* oklch */ color: oklch(47.6% 0.177 330.9);
Tailwind
colors: {
  custom: {
    50: '#b46cac',
    500: '#902889',
    950: '#000000',
  },
}
SCSS
$custom: #902889;
$custom-light: #b46cac;
$custom-dark: #000000;
JSON
{
  "hex": "#902889",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 304.038,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47561,
    "c": 0.17699,
    "h": 330.9
  },
  "luminance": 0.09253
}

Semantic roles & 50–950 ramp

primary
#902889
secondary
#5CB862
accent
#E05248
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #902889

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#902889 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva