#902AAB#902AAB

#902AAB is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.203 H 318.1°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#902AAB
RGBrgb(144, 42, 171)
HSLhsl(287, 61%, 42%)
HSVhsv(287, 75%, 67%)
CMYKcmyk(15.8%, 75.4%, 0%, 32.9%)
CIE-LABlab(38.77, 59.71, -48.23)
CIE-LCHlch(38.77, 76.76, 321.08°)
OKLaboklab(49.86% 0.1513 -0.1356)
OKLCHoklch(49.86% 0.203 318.1)
XYZxyz(19.6792, 10.5264, 39.5154)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902AAB #45AB2A
analogous
#502AAB #902AAB #AB2A86
triadic
#902AAB #AB902A #2AAB90
tetradic
#902AAB #AB502A #45AB2A #2A86AB
square
#902AAB #AB502A #45AB2A #2A86AB
split-complementary
#902AAB #86AB2A #2AAB50
monochromatic
#3D1249 #671E7A #902AAB #B342D1 #C673DD

Accessibility & contrast

On white

6.76
#902AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#902AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902AAB
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902AAB#FFFFFF#000000##FFFFFF
##902AAB1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#305EA8
Tritanopia (blue-blind)
#8F4569
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #902aab;
/* rgb */ color: rgb(144, 42, 171);
/* oklch */ color: oklch(49.9% 0.203 318.1);
Tailwind
colors: {
  custom: {
    50: '#b46fc5',
    500: '#902aab',
    950: '#000000',
  },
}
SCSS
$custom: #902aab;
$custom-light: #b46fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#902aab",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 287.442,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49863,
    "c": 0.20318,
    "h": 318.1
  },
  "luminance": 0.10525
}

Semantic roles & 50–950 ramp

primary
#902AAB
secondary
#7FC46D
accent
#E44466
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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