#902A89#902A89

#902A89 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.7% C 0.175 H 330.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#902A89
RGBrgb(144, 42, 137)
HSLhsl(304, 55%, 36%)
HSVhsv(304, 71%, 56%)
CMYKcmyk(0%, 70.8%, 4.9%, 43.5%)
CIE-LABlab(36.73, 53.57, -30.88)
CIE-LCHlch(36.73, 61.83, 330.04°)
OKLaboklab(47.75% 0.1525 -0.085)
OKLCHoklch(47.75% 0.175 330.9)
XYZxyz(16.8449, 9.3927, 24.5878)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902A89 #2A9031
analogous
#642A90 #902A89 #902A56
triadic
#902A89 #89902A #2A8990
tetradic
#902A89 #90642A #2A9031 #2A5690
square
#902A89 #90642A #2A9031 #2A5690
split-complementary
#902A89 #56902A #2A9064
monochromatic
#310E2F #611C5C #902A89 #BF38B6 #D163CA

Accessibility & contrast

On white

7.30
#902A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#902A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902A89
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902A89#FFFFFF#000000##FFFFFF
##902A891.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #902a89;
/* rgb */ color: rgb(144, 42, 137);
/* oklch */ color: oklch(47.7% 0.175 330.9);
Tailwind
colors: {
  custom: {
    50: '#b46dac',
    500: '#902a89',
    950: '#000000',
  },
}
SCSS
$custom: #902a89;
$custom-light: #b46dac;
$custom-dark: #000000;
JSON
{
  "hex": "#902a89",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 304.118,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47748,
    "c": 0.17457,
    "h": 330.9
  },
  "luminance": 0.09391
}

Semantic roles & 50–950 ramp

primary
#902A89
secondary
#5EB764
accent
#DE544A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #902A89

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

Preview Lab → · Contrast checker → · Palette generator →

#902A89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva