#902B97#902B97

#902B97 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.185 H 325.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#902B97
RGBrgb(144, 43, 151)
HSLhsl(296, 56%, 38%)
HSVhsv(296, 72%, 59%)
CMYKcmyk(4.6%, 71.5%, 0%, 40.8%)
CIE-LABlab(37.65, 55.63, -37.98)
CIE-LCHlch(37.65, 67.36, 325.67°)
OKLaboklab(48.66% 0.1517 -0.1056)
OKLCHoklch(48.66% 0.185 325.1)
XYZxyz(17.9510, 9.8926, 30.2361)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902B97 #32972B
analogous
#5A2B97 #902B97 #972B68
triadic
#902B97 #97902B #2B9790
tetradic
#902B97 #975A2B #32972B #2B6897
square
#902B97 #975A2B #32972B #2B6897
split-complementary
#902B97 #68972B #2B975A
monochromatic
#351038 #631D67 #902B97 #BD39C7 #CD68D4

Accessibility & contrast

On white

7.05
#902B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#902B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902B97
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902B97#FFFFFF#000000##FFFFFF
##902B971.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E519A
Deuteranopia (green-blind)
#415D94
Tritanopia (blue-blind)
#933D5E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #902b97;
/* rgb */ color: rgb(144, 43, 151);
/* oklch */ color: oklch(48.7% 0.185 325.1);
Tailwind
colors: {
  custom: {
    50: '#b46eb6',
    500: '#902b97',
    950: '#000000',
  },
}
SCSS
$custom: #902b97;
$custom-light: #b46eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#902b97",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 296.111,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48663,
    "c": 0.18484,
    "h": 325.1
  },
  "luminance": 0.09891
}

Semantic roles & 50–950 ramp

primary
#902B97
secondary
#69BB63
accent
#DF4953
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902B97

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

Preview Lab → · Contrast checker → · Palette generator →

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