#902989#902989

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

Color values

HEX#902989
RGBrgb(144, 41, 137)
HSLhsl(304, 56%, 36%)
HSVhsv(304, 72%, 56%)
CMYKcmyk(0%, 71.5%, 4.9%, 43.5%)
CIE-LABlab(36.60, 53.94, -31.09)
CIE-LCHlch(36.60, 62.26, 330.05°)
OKLaboklab(47.65% 0.1535 -0.0856)
OKLCHoklch(47.65% 0.176 330.9)
XYZxyz(16.8099, 9.3226, 24.5762)
Luminance0.0932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902989 #299030
analogous
#642990 #902989 #902956
triadic
#902989 #899029 #298990
tetradic
#902989 #906429 #299030 #295690
square
#902989 #906429 #299030 #295690
split-complementary
#902989 #569029 #299064
monochromatic
#310E2E #601B5C #902989 #C037B6 #D261CA

Accessibility & contrast

On white

7.33
#902989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#902989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902989
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902989#FFFFFF#000000##FFFFFF
##9029891.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204D8C
Deuteranopia (green-blind)
#485B86
Tritanopia (blue-blind)
#963556
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #902989;
/* rgb */ color: rgb(144, 41, 137);
/* oklch */ color: oklch(47.7% 0.176 330.9);
Tailwind
colors: {
  custom: {
    50: '#b46dac',
    500: '#902989',
    950: '#000000',
  },
}
SCSS
$custom: #902989;
$custom-light: #b46dac;
$custom-dark: #000000;
JSON
{
  "hex": "#902989",
  "rgb": {
    "r": 144,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 304.078,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47653,
    "c": 0.17579,
    "h": 330.9
  },
  "luminance": 0.09321
}

Semantic roles & 50–950 ramp

primary
#902989
secondary
#5DB863
accent
#DF5349
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #902989

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

Preview Lab → · Contrast checker → · Palette generator →

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