#902AAC#902AAC

#902AAC is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 49.9% C 0.204 H 317.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#902AAC
RGBrgb(144, 42, 172)
HSLhsl(287, 61%, 42%)
HSVhsv(287, 76%, 67%)
CMYKcmyk(16.3%, 75.6%, 0%, 32.5%)
CIE-LABlab(38.84, 59.91, -48.72)
CIE-LCHlch(38.84, 77.21, 320.88°)
OKLaboklab(49.93% 0.1512 -0.137)
OKLCHoklch(49.93% 0.204 317.8)
XYZxyz(19.7749, 10.5647, 40.0193)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902AAC #46AC2A
analogous
#4F2AAC #902AAC #AC2A87
triadic
#902AAC #AC902A #2AAC90
tetradic
#902AAC #AC4F2A #46AC2A #2A87AC
square
#902AAC #AC4F2A #46AC2A #2A87AC
split-complementary
#902AAC #87AC2A #2AAC4F
monochromatic
#3E124A #671E7B #902AAC #B242D1 #C673DD

Accessibility & contrast

On white

6.75
#902AAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #902AAC
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902AAC#FFFFFF#000000##FFFFFF
##902AAC1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#2F5FA9
Tritanopia (blue-blind)
#8F466A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #902aac;
/* rgb */ color: rgb(144, 42, 172);
/* oklch */ color: oklch(49.9% 0.204 317.8);
Tailwind
colors: {
  custom: {
    50: '#b56fc5',
    500: '#902aac',
    950: '#000000',
  },
}
SCSS
$custom: #902aac;
$custom-light: #b56fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#902aac",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 287.077,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49931,
    "c": 0.20404,
    "h": 317.8
  },
  "luminance": 0.10564
}

Semantic roles & 50–950 ramp

primary
#902AAC
secondary
#80C46D
accent
#E44466
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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