#902B96#902B96

#902B96 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.6% C 0.184 H 325.5°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#902B96
RGBrgb(144, 43, 150)
HSLhsl(297, 55%, 38%)
HSVhsv(297, 71%, 59%)
CMYKcmyk(4%, 71.3%, 0%, 41.2%)
CIE-LABlab(37.59, 55.45, -37.47)
CIE-LCHlch(37.59, 66.92, 325.95°)
OKLaboklab(48.6% 0.1517 -0.1041)
OKLCHoklch(48.6% 0.184 325.5)
XYZxyz(17.8701, 9.8602, 29.8102)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902B96 #31962B
analogous
#5B2B96 #902B96 #962B66
triadic
#902B96 #96902B #2B9690
tetradic
#902B96 #965B2B #31962B #2B6696
square
#902B96 #965B2B #31962B #2B6696
split-complementary
#902B96 #66962B #2B965B
monochromatic
#351037 #621D66 #902B96 #BE39C6 #CE68D4

Accessibility & contrast

On white

7.07
#902B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#902B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902B96
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902B96#FFFFFF#000000##FFFFFF
##902B961.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115099
Deuteranopia (green-blind)
#425D93
Tritanopia (blue-blind)
#933C5E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #902b96;
/* rgb */ color: rgb(144, 43, 150);
/* oklch */ color: oklch(48.6% 0.184 325.5);
Tailwind
colors: {
  custom: {
    50: '#b46eb5',
    500: '#902b96',
    950: '#000000',
  },
}
SCSS
$custom: #902b96;
$custom-light: #b46eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#902b96",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 296.636,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48602,
    "c": 0.18401,
    "h": 325.5
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#902B96
secondary
#68BA63
accent
#DF4951
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902B96

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

Preview Lab → · Contrast checker → · Palette generator →

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