#902B8A#902B8A

#902B8A is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.9% C 0.174 H 330.4°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#902B8A
RGBrgb(144, 43, 138)
HSLhsl(304, 54%, 37%)
HSVhsv(304, 70%, 56%)
CMYKcmyk(0%, 70.1%, 4.2%, 43.5%)
CIE-LABlab(36.92, 53.36, -31.20)
CIE-LCHlch(36.92, 61.81, 329.69°)
OKLaboklab(47.9% 0.1514 -0.0859)
OKLCHoklch(47.9% 0.174 330.4)
XYZxyz(16.9528, 9.4933, 24.9793)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902B8A #2B9031
analogous
#642B90 #902B8A #902B58
triadic
#902B8A #8A902B #2B8A90
tetradic
#902B8A #90642B #2B9031 #2B5890
square
#902B8A #90642B #2B9031 #2B5890
split-complementary
#902B8A #58902B #2B9064
monochromatic
#320F30 #611D5D #902B8A #BF39B7 #D165CA

Accessibility & contrast

On white

7.25
#902B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#902B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902B8A
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902B8A#FFFFFF#000000##FFFFFF
##902B8A1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8D
Deuteranopia (green-blind)
#485C87
Tritanopia (blue-blind)
#963757
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #902b8a;
/* rgb */ color: rgb(144, 43, 138);
/* oklch */ color: oklch(47.9% 0.174 330.4);
Tailwind
colors: {
  custom: {
    50: '#b46eac',
    500: '#902b8a',
    950: '#000000',
  },
}
SCSS
$custom: #902b8a;
$custom-light: #b46eac;
$custom-dark: #000000;
JSON
{
  "hex": "#902b8a",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 303.564,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47901,
    "c": 0.17412,
    "h": 330.4
  },
  "luminance": 0.09492
}

Semantic roles & 50–950 ramp

primary
#902B8A
secondary
#60B765
accent
#DD534A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #902B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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