#902AA1#902AA1

#902AA1 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.195 H 321.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#902AA1
RGBrgb(144, 42, 161)
HSLhsl(291, 59%, 40%)
HSVhsv(291, 74%, 63%)
CMYKcmyk(10.6%, 73.9%, 0%, 36.9%)
CIE-LABlab(38.13, 57.82, -43.27)
CIE-LCHlch(38.13, 72.22, 323.19°)
OKLaboklab(49.2% 0.1523 -0.121)
OKLCHoklch(49.2% 0.195 321.5)
XYZxyz(18.7619, 10.1595, 34.6840)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902AA1 #3BA12A
analogous
#552AA1 #902AA1 #A12A76
triadic
#902AA1 #A1902A #2AA190
tetradic
#902AA1 #A1552A #3BA12A #2A76A1
square
#902AA1 #A1552A #3BA12A #2A76A1
split-complementary
#902AA1 #76A12A #2AA155
monochromatic
#391140 #651D70 #902AA1 #B83CCC #C96DD9

Accessibility & contrast

On white

6.93
#902AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#902AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902AA1
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902AA1#FFFFFF#000000##FFFFFF
##902AA11.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#395D9E
Tritanopia (blue-blind)
#914163
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #902aa1;
/* rgb */ color: rgb(144, 42, 161);
/* oklch */ color: oklch(49.2% 0.195 321.5);
Tailwind
colors: {
  custom: {
    50: '#b46ebd',
    500: '#902aa1',
    950: '#000000',
  },
}
SCSS
$custom: #902aa1;
$custom-light: #b46ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#902aa1",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 291.429,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.492,
    "c": 0.19452,
    "h": 321.5
  },
  "luminance": 0.10158
}

Semantic roles & 50–950 ramp

primary
#902AA1
secondary
#74C067
accent
#E2465C
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #902AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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