#902BB9#902BB9

#902BB9 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.214 H 313.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#902BB9
RGBrgb(144, 43, 185)
HSLhsl(283, 62%, 45%)
HSVhsv(283, 77%, 73%)
CMYKcmyk(22.2%, 76.8%, 0%, 27.5%)
CIE-LABlab(39.85, 62.12, -54.78)
CIE-LCHlch(39.85, 82.83, 318.59°)
OKLaboklab(50.93% 0.1484 -0.1548)
OKLCHoklch(50.93% 0.214 313.8)
XYZxyz(21.1209, 11.1605, 46.9311)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902BB9 #54B92B
analogous
#492BB9 #902BB9 #B92B9B
triadic
#902BB9 #B9902B #2BB990
tetradic
#902BB9 #B9492B #54B92B #2B9BB9
square
#902BB9 #B9492B #54B92B #2B9BB9
split-complementary
#902BB9 #9BB92B #2BB949
monochromatic
#431456 #691F87 #902BB9 #AE4CD5 #C47EE1

Accessibility & contrast

On white

6.50
#902BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#902BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902BB9
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902BB9#FFFFFF#000000##FFFFFF
##902BB91.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#1E60B6
Tritanopia (blue-blind)
#8C4C71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #902bb9;
/* rgb */ color: rgb(144, 43, 185);
/* oklch */ color: oklch(50.9% 0.214 313.8);
Tailwind
colors: {
  custom: {
    50: '#b570cf',
    500: '#902bb9',
    950: '#000000',
  },
}
SCSS
$custom: #902bb9;
$custom-light: #b570cf;
$custom-dark: #000000;
JSON
{
  "hex": "#902bb9",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 185
  },
  "hsl": {
    "h": 282.676,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50929,
    "c": 0.21448,
    "h": 313.8
  },
  "luminance": 0.1116
}

Semantic roles & 50–950 ramp

primary
#902BB9
secondary
#8EC976
accent
#E54271
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #902BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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