#902AB1#902AB1

#902AB1 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.208 H 316.3°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#902AB1
RGBrgb(144, 42, 177)
HSLhsl(285, 62%, 43%)
HSVhsv(285, 76%, 69%)
CMYKcmyk(18.6%, 76.3%, 0%, 30.6%)
CIE-LABlab(39.17, 60.88, -51.15)
CIE-LCHlch(39.17, 79.51, 319.97°)
OKLaboklab(50.28% 0.1506 -0.1441)
OKLCHoklch(50.28% 0.208 316.3)
XYZxyz(20.2641, 10.7604, 42.5960)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902AB1 #4BB12A
analogous
#4C2AB1 #902AB1 #B12A8F
triadic
#902AB1 #B1902A #2AB190
tetradic
#902AB1 #B14C2A #4BB12A #2A8FB1
square
#902AB1 #B14C2A #4BB12A #2A8FB1
split-complementary
#902AB1 #8FB12A #2AB14C
monochromatic
#40134E #681E80 #902AB1 #B045D3 #C577DF

Accessibility & contrast

On white

6.66
#902AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#902AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902AB1
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902AB1#FFFFFF#000000##FFFFFF
##902AB11.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#295FAE
Tritanopia (blue-blind)
#8E486C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #902ab1;
/* rgb */ color: rgb(144, 42, 177);
/* oklch */ color: oklch(50.3% 0.208 316.3);
Tailwind
colors: {
  custom: {
    50: '#b56fc9',
    500: '#902ab1',
    950: '#000000',
  },
}
SCSS
$custom: #902ab1;
$custom-light: #b56fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#902ab1",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 285.333,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50276,
    "c": 0.20842,
    "h": 316.3
  },
  "luminance": 0.1076
}

Semantic roles & 50–950 ramp

primary
#902AB1
secondary
#85C670
accent
#E5436B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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