#902AB9#902AB9

#902AB9 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.215 H 313.9°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#902AB9
RGBrgb(144, 42, 185)
HSLhsl(283, 63%, 45%)
HSVhsv(283, 77%, 73%)
CMYKcmyk(22.2%, 77.3%, 0%, 27.5%)
CIE-LABlab(39.73, 62.47, -54.98)
CIE-LCHlch(39.73, 83.21, 318.65°)
OKLaboklab(50.84% 0.1493 -0.1554)
OKLCHoklch(50.84% 0.215 313.9)
XYZxyz(21.0850, 11.0887, 46.9192)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902AB9 #53B92A
analogous
#482AB9 #902AB9 #B92A9B
triadic
#902AB9 #B9902A #2AB990
tetradic
#902AB9 #B9482A #53B92A #2A9BB9
square
#902AB9 #B9482A #53B92A #2A9BB9
split-complementary
#902AB9 #9BB92A #2AB948
monochromatic
#421355 #691F87 #902AB9 #AE4AD6 #C47CE1

Accessibility & contrast

On white

6.53
#902AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#902AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902AB9
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902AB9#FFFFFF#000000##FFFFFF
##902AB91.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#1C60B6
Tritanopia (blue-blind)
#8C4B71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #902ab9;
/* rgb */ color: rgb(144, 42, 185);
/* oklch */ color: oklch(50.8% 0.215 313.9);
Tailwind
colors: {
  custom: {
    50: '#b56fcf',
    500: '#902ab9',
    950: '#000000',
  },
}
SCSS
$custom: #902ab9;
$custom-light: #b56fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#902ab9",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 282.797,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50844,
    "c": 0.21547,
    "h": 313.9
  },
  "luminance": 0.11088
}

Semantic roles & 50–950 ramp

primary
#902AB9
secondary
#8DCA75
accent
#E64271
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #902AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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