#902B99#902B99

#902B99 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.187 H 324.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#902B99
RGBrgb(144, 43, 153)
HSLhsl(295, 56%, 38%)
HSVhsv(295, 72%, 60%)
CMYKcmyk(5.9%, 71.9%, 0%, 40%)
CIE-LABlab(37.77, 55.99, -39.01)
CIE-LCHlch(37.77, 68.24, 325.13°)
OKLaboklab(48.79% 0.1517 -0.1086)
OKLCHoklch(48.79% 0.187 324.4)
XYZxyz(18.1148, 9.9581, 31.0988)
Luminance0.0996 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902B99 #34992B
analogous
#592B99 #902B99 #992B6B
triadic
#902B99 #99902B #2B9990
tetradic
#902B99 #99592B #34992B #2B6B99
square
#902B99 #99592B #34992B #2B6B99
split-complementary
#902B99 #6B992B #2B9959
monochromatic
#361039 #631E69 #902B99 #BC3AC8 #CC69D5

Accessibility & contrast

On white

7.02
#902B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#902B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902B99
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902B99#FFFFFF#000000##FFFFFF
##902B991.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09519C
Deuteranopia (green-blind)
#405D96
Tritanopia (blue-blind)
#933E5F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #902b99;
/* rgb */ color: rgb(144, 43, 153);
/* oklch */ color: oklch(48.8% 0.187 324.4);
Tailwind
colors: {
  custom: {
    50: '#b46eb7',
    500: '#902b99',
    950: '#000000',
  },
}
SCSS
$custom: #902b99;
$custom-light: #b46eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#902b99",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 295.091,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48786,
    "c": 0.18654,
    "h": 324.4
  },
  "luminance": 0.09957
}

Semantic roles & 50–950 ramp

primary
#902B99
secondary
#6BBC64
accent
#DF4855
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902B99

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

Preview Lab → · Contrast checker → · Palette generator →

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