#902AA4#902AA4

#902AA4 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.197 H 320.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#902AA4
RGBrgb(144, 42, 164)
HSLhsl(290, 59%, 40%)
HSVhsv(290, 74%, 64%)
CMYKcmyk(12.2%, 74.4%, 0%, 35.7%)
CIE-LABlab(38.32, 58.38, -44.77)
CIE-LCHlch(38.32, 73.57, 322.52°)
OKLaboklab(49.4% 0.152 -0.1254)
OKLCHoklch(49.4% 0.197 320.5)
XYZxyz(19.0296, 10.2666, 36.0940)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902AA4 #3EA42A
analogous
#532AA4 #902AA4 #A42A7B
triadic
#902AA4 #A4902A #2AA490
tetradic
#902AA4 #A4532A #3EA42A #2A7BA4
square
#902AA4 #A4532A #3EA42A #2A7BA4
split-complementary
#902AA4 #7BA42A #2AA453
monochromatic
#3A1143 #651E73 #902AA4 #B63ECD #C86EDA

Accessibility & contrast

On white

6.88
#902AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#902AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902AA4
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902AA4#FFFFFF#000000##FFFFFF
##902AA41.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#375EA1
Tritanopia (blue-blind)
#914265
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #902aa4;
/* rgb */ color: rgb(144, 42, 164);
/* oklch */ color: oklch(49.4% 0.197 320.5);
Tailwind
colors: {
  custom: {
    50: '#b46ec0',
    500: '#902aa4',
    950: '#000000',
  },
}
SCSS
$custom: #902aa4;
$custom-light: #b46ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#902aa4",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 290.164,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49395,
    "c": 0.1971,
    "h": 320.5
  },
  "luminance": 0.10266
}

Semantic roles & 50–950 ramp

primary
#902AA4
secondary
#77C169
accent
#E2455F
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #902AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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