#902AB6#902AB6

#902AB6 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.213 H 314.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#902AB6
RGBrgb(144, 42, 182)
HSLhsl(284, 63%, 44%)
HSVhsv(284, 77%, 71%)
CMYKcmyk(20.9%, 76.9%, 0%, 28.6%)
CIE-LABlab(39.52, 61.87, -53.55)
CIE-LCHlch(39.52, 81.82, 319.12°)
OKLaboklab(50.63% 0.1498 -0.1512)
OKLCHoklch(50.63% 0.213 314.7)
XYZxyz(20.7717, 10.9634, 45.2689)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902AB6 #50B62A
analogous
#4A2AB6 #902AB6 #B62A96
triadic
#902AB6 #B6902A #2AB690
tetradic
#902AB6 #B64A2A #50B62A #2A96B6
square
#902AB6 #B64A2A #50B62A #2A96B6
split-complementary
#902AB6 #96B62A #2AB64A
monochromatic
#411353 #691F84 #902AB6 #AF48D5 #C57AE0

Accessibility & contrast

On white

6.58
#902AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#902AB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902AB6
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902AB6#FFFFFF#000000##FFFFFF
##902AB61.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#2260B3
Tritanopia (blue-blind)
#8D4A6F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #902ab6;
/* rgb */ color: rgb(144, 42, 182);
/* oklch */ color: oklch(50.6% 0.213 314.7);
Tailwind
colors: {
  custom: {
    50: '#b56fcd',
    500: '#902ab6',
    950: '#000000',
  },
}
SCSS
$custom: #902ab6;
$custom-light: #b56fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#902ab6",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 283.714,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50629,
    "c": 0.21283,
    "h": 314.7
  },
  "luminance": 0.10963
}

Semantic roles & 50–950 ramp

primary
#902AB6
secondary
#8AC873
accent
#E6426F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #902AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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