#902AA2#902AA2

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

Color values

HEX#902AA2
RGBrgb(144, 42, 162)
HSLhsl(291, 59%, 40%)
HSVhsv(291, 74%, 64%)
CMYKcmyk(11.1%, 74.1%, 0%, 36.5%)
CIE-LABlab(38.19, 58.01, -43.77)
CIE-LCHlch(38.19, 72.67, 322.96°)
OKLaboklab(49.27% 0.1522 -0.1225)
OKLCHoklch(49.27% 0.195 321.2)
XYZxyz(18.8504, 10.1949, 35.1503)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902AA2 #3CA22A
analogous
#542AA2 #902AA2 #A22A78
triadic
#902AA2 #A2902A #2AA290
tetradic
#902AA2 #A2542A #3CA22A #2A78A2
square
#902AA2 #A2542A #3CA22A #2A78A2
split-complementary
#902AA2 #78A22A #2AA254
monochromatic
#3A1141 #651D71 #902AA2 #B73DCD #C96DD9

Accessibility & contrast

On white

6.91
#902AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#902AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902AA2
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902AA2#FFFFFF#000000##FFFFFF
##902AA21.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#385E9F
Tritanopia (blue-blind)
#914164
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #902aa2;
/* rgb */ color: rgb(144, 42, 162);
/* oklch */ color: oklch(49.3% 0.195 321.2);
Tailwind
colors: {
  custom: {
    50: '#b46ebe',
    500: '#902aa2',
    950: '#000000',
  },
}
SCSS
$custom: #902aa2;
$custom-light: #b46ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#902aa2",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 291,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.49265,
    "c": 0.19537,
    "h": 321.2
  },
  "luminance": 0.10194
}

Semantic roles & 50–950 ramp

primary
#902AA2
secondary
#75C068
accent
#E2465D
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #902AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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