#902AAD#902AAD

#902AAD is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.205 H 317.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#902AAD
RGBrgb(144, 42, 173)
HSLhsl(287, 61%, 42%)
HSVhsv(287, 76%, 68%)
CMYKcmyk(16.8%, 75.7%, 0%, 32.2%)
CIE-LABlab(38.90, 60.10, -49.20)
CIE-LCHlch(38.90, 77.67, 320.69°)
OKLaboklab(50% 0.1511 -0.1384)
OKLCHoklch(50% 0.205 317.5)
XYZxyz(19.8713, 10.6032, 40.5270)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902AAD #47AD2A
analogous
#4F2AAD #902AAD #AD2A88
triadic
#902AAD #AD902A #2AAD90
tetradic
#902AAD #AD4F2A #47AD2A #2A88AD
square
#902AAD #AD4F2A #47AD2A #2A88AD
split-complementary
#902AAD #88AD2A #2AAD4F
monochromatic
#3E124B #671E7C #902AAD #B243D1 #C674DD

Accessibility & contrast

On white

6.73
#902AAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#902AAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902AAD
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902AAD#FFFFFF#000000##FFFFFF
##902AAD1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#2E5FAA
Tritanopia (blue-blind)
#8F466A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #902aad;
/* rgb */ color: rgb(144, 42, 173);
/* oklch */ color: oklch(50.0% 0.205 317.5);
Tailwind
colors: {
  custom: {
    50: '#b56fc6',
    500: '#902aad',
    950: '#000000',
  },
}
SCSS
$custom: #902aad;
$custom-light: #b56fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#902aad",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 173
  },
  "hsl": {
    "h": 286.718,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49999,
    "c": 0.20491,
    "h": 317.5
  },
  "luminance": 0.10602
}

Semantic roles & 50–950 ramp

primary
#902AAD
secondary
#81C56E
accent
#E44467
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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