#902AAA#902AAA

#902AAA is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.202 H 318.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#902AAA
RGBrgb(144, 42, 170)
HSLhsl(288, 60%, 42%)
HSVhsv(288, 75%, 67%)
CMYKcmyk(15.3%, 75.3%, 0%, 33.3%)
CIE-LABlab(38.71, 59.52, -47.74)
CIE-LCHlch(38.71, 76.30, 321.27°)
OKLaboklab(49.8% 0.1515 -0.1341)
OKLCHoklch(49.8% 0.202 318.5)
XYZxyz(19.5843, 10.4884, 39.0153)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902AAA #44AA2A
analogous
#502AAA #902AAA #AA2A84
triadic
#902AAA #AA902A #2AAA90
tetradic
#902AAA #AA502A #44AA2A #2A84AA
square
#902AAA #AA502A #44AA2A #2A84AA
split-complementary
#902AAA #84AA2A #2AAA50
monochromatic
#3D1248 #661E79 #902AAA #B341D0 #C772DC

Accessibility & contrast

On white

6.78
#902AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#902AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902AAA
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902AAA#FFFFFF#000000##FFFFFF
##902AAA1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#315EA7
Tritanopia (blue-blind)
#8F4568
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #902aaa;
/* rgb */ color: rgb(144, 42, 170);
/* oklch */ color: oklch(49.8% 0.202 318.5);
Tailwind
colors: {
  custom: {
    50: '#b46fc4',
    500: '#902aaa',
    950: '#000000',
  },
}
SCSS
$custom: #902aaa;
$custom-light: #b46fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#902aaa",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 287.813,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49795,
    "c": 0.2023,
    "h": 318.5
  },
  "luminance": 0.10488
}

Semantic roles & 50–950 ramp

primary
#902AAA
secondary
#7EC36C
accent
#E44465
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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