#902AA8#902AA8

#902AA8 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.201 H 319.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#902AA8
RGBrgb(144, 42, 168)
HSLhsl(289, 60%, 41%)
HSVhsv(289, 75%, 66%)
CMYKcmyk(14.3%, 75%, 0%, 34.1%)
CIE-LABlab(38.57, 59.14, -46.75)
CIE-LCHlch(38.57, 75.39, 321.67°)
OKLaboklab(49.66% 0.1517 -0.1312)
OKLCHoklch(49.66% 0.201 319.1)
XYZxyz(19.3965, 10.4133, 38.0265)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902AA8 #42A82A
analogous
#512AA8 #902AA8 #A82A81
triadic
#902AA8 #A8902A #2AA890
tetradic
#902AA8 #A8512A #42A82A #2A81A8
square
#902AA8 #A8512A #42A82A #2A81A8
split-complementary
#902AA8 #81A82A #2AA851
monochromatic
#3C1246 #661E77 #902AA8 #B440CF #C771DB

Accessibility & contrast

On white

6.81
#902AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#902AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902AA8
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902AA8#FFFFFF#000000##FFFFFF
##902AA81.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#335EA5
Tritanopia (blue-blind)
#904467
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #902aa8;
/* rgb */ color: rgb(144, 42, 168);
/* oklch */ color: oklch(49.7% 0.201 319.1);
Tailwind
colors: {
  custom: {
    50: '#b46fc2',
    500: '#902aa8',
    950: '#000000',
  },
}
SCSS
$custom: #902aa8;
$custom-light: #b46fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#902aa8",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 288.571,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49661,
    "c": 0.20055,
    "h": 319.1
  },
  "luminance": 0.10412
}

Semantic roles & 50–950 ramp

primary
#902AA8
secondary
#7CC36B
accent
#E34563
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #902AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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