#902AA5#902AA5

#902AA5 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.198 H 320.1°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#902AA5
RGBrgb(144, 42, 165)
HSLhsl(290, 59%, 41%)
HSVhsv(290, 75%, 65%)
CMYKcmyk(12.7%, 74.5%, 0%, 35.3%)
CIE-LABlab(38.38, 58.57, -45.26)
CIE-LCHlch(38.38, 74.02, 322.30°)
OKLaboklab(49.46% 0.152 -0.1269)
OKLCHoklch(49.46% 0.198 320.1)
XYZxyz(19.1203, 10.3028, 36.5715)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902AA5 #3FA52A
analogous
#522AA5 #902AA5 #A52A7C
triadic
#902AA5 #A5902A #2AA590
tetradic
#902AA5 #A5522A #3FA52A #2A7CA5
square
#902AA5 #A5522A #3FA52A #2A7CA5
split-complementary
#902AA5 #7CA52A #2AA552
monochromatic
#3B1143 #651E74 #902AA5 #B53ECE #C86FDA

Accessibility & contrast

On white

6.86
#902AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#902AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902AA5
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902AA5#FFFFFF#000000##FFFFFF
##902AA51.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#365EA2
Tritanopia (blue-blind)
#914266
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #902aa5;
/* rgb */ color: rgb(144, 42, 165);
/* oklch */ color: oklch(49.5% 0.198 320.1);
Tailwind
colors: {
  custom: {
    50: '#b46ec0',
    500: '#902aa5',
    950: '#000000',
  },
}
SCSS
$custom: #902aa5;
$custom-light: #b46ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#902aa5",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 289.756,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49461,
    "c": 0.19796,
    "h": 320.1
  },
  "luminance": 0.10302
}

Semantic roles & 50–950 ramp

primary
#902AA5
secondary
#78C169
accent
#E34560
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #902AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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