#902DA9#902DA9

#902DA9 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.198 H 318.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#902DA9
RGBrgb(144, 45, 169)
HSLhsl(288, 58%, 42%)
HSVhsv(288, 73%, 66%)
CMYKcmyk(14.8%, 73.4%, 0%, 33.7%)
CIE-LABlab(39.02, 58.24, -46.63)
CIE-LCHlch(39.02, 74.61, 321.32°)
OKLaboklab(50% 0.1487 -0.1309)
OKLCHoklch(50% 0.198 318.6)
XYZxyz(19.6004, 10.6716, 38.5558)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902DA9 #46A92D
analogous
#522DA9 #902DA9 #A92D84
triadic
#902DA9 #A9902D #2DA990
tetradic
#902DA9 #A9522D #46A92D #2D84A9
square
#902DA9 #A9522D #46A92D #2D84A9
split-complementary
#902DA9 #84A92D #2DA952
monochromatic
#3E1348 #672079 #902DA9 #B246CE #C676DA

Accessibility & contrast

On white

6.70
#902DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#902DA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902DA9
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902DA9#FFFFFF#000000##FFFFFF
##902DA91.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AC
Deuteranopia (green-blind)
#345FA6
Tritanopia (blue-blind)
#904669
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #902da9;
/* rgb */ color: rgb(144, 45, 169);
/* oklch */ color: oklch(50.0% 0.198 318.6);
Tailwind
colors: {
  custom: {
    50: '#b470c3',
    500: '#902da9',
    950: '#000000',
  },
}
SCSS
$custom: #902da9;
$custom-light: #b470c3;
$custom-dark: #000000;
JSON
{
  "hex": "#902da9",
  "rgb": {
    "r": 144,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 287.903,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49999,
    "c": 0.19811,
    "h": 318.6
  },
  "luminance": 0.10671
}

Semantic roles & 50–950 ramp

primary
#902DA9
secondary
#80C26F
accent
#E14766
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #902DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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