#902B9D#902B9D

#902B9D is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.190 H 322.9°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#902B9D
RGBrgb(144, 43, 157)
HSLhsl(293, 57%, 39%)
HSVhsv(293, 73%, 62%)
CMYKcmyk(8.3%, 72.6%, 0%, 38.4%)
CIE-LABlab(38.01, 56.72, -41.05)
CIE-LCHlch(38.01, 70.01, 324.11°)
OKLaboklab(49.04% 0.1515 -0.1146)
OKLCHoklch(49.04% 0.19 322.9)
XYZxyz(18.4507, 10.0924, 32.8679)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902B9D #389D2B
analogous
#572B9D #902B9D #9D2B71
triadic
#902B9D #9D902B #2B9D90
tetradic
#902B9D #9D572B #389D2B #2B719D
square
#902B9D #9D572B #389D2B #2B719D
split-complementary
#902B9D #719D2B #2B9D57
monochromatic
#38113D #641E6D #902B9D #B93CCA #CA6CD7

Accessibility & contrast

On white

6.96
#902B9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#902B9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902B9D
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902B9D#FFFFFF#000000##FFFFFF
##902B9D1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#3D5D9A
Tritanopia (blue-blind)
#923F61
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #902b9d;
/* rgb */ color: rgb(144, 43, 157);
/* oklch */ color: oklch(49.0% 0.190 322.9);
Tailwind
colors: {
  custom: {
    50: '#b46eba',
    500: '#902b9d',
    950: '#000000',
  },
}
SCSS
$custom: #902b9d;
$custom-light: #b46eba;
$custom-dark: #000000;
JSON
{
  "hex": "#902b9d",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 157
  },
  "hsl": {
    "h": 293.158,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49035,
    "c": 0.18995,
    "h": 322.9
  },
  "luminance": 0.10091
}

Semantic roles & 50–950 ramp

primary
#902B9D
secondary
#70BD66
accent
#E04859
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #902B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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