#902DA2#902DA2

#902DA2 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.192 H 321.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#902DA2
RGBrgb(144, 45, 162)
HSLhsl(291, 57%, 41%)
HSVhsv(291, 72%, 64%)
CMYKcmyk(11.1%, 72.2%, 0%, 36.5%)
CIE-LABlab(38.58, 56.90, -43.15)
CIE-LCHlch(38.58, 71.41, 322.83°)
OKLaboklab(49.54% 0.1492 -0.1207)
OKLCHoklch(49.54% 0.192 321)
XYZxyz(18.9608, 10.4157, 35.1871)
Luminance0.1042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902DA2 #3FA22D
analogous
#552DA2 #902DA2 #A22D79
triadic
#902DA2 #A2902D #2DA290
tetradic
#902DA2 #A2552D #3FA22D #2D79A2
square
#902DA2 #A2552D #3FA22D #2D79A2
split-complementary
#902DA2 #79A22D #2DA255
monochromatic
#3B1242 #652072 #902DA2 #B542CA #C872D8

Accessibility & contrast

On white

6.81
#902DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#902DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902DA2
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902DA2#FFFFFF#000000##FFFFFF
##902DA21.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#3A5E9F
Tritanopia (blue-blind)
#914365
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #902da2;
/* rgb */ color: rgb(144, 45, 162);
/* oklch */ color: oklch(49.5% 0.192 321.0);
Tailwind
colors: {
  custom: {
    50: '#b470be',
    500: '#902da2',
    950: '#000000',
  },
}
SCSS
$custom: #902da2;
$custom-light: #b470be;
$custom-dark: #000000;
JSON
{
  "hex": "#902da2",
  "rgb": {
    "r": 144,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 290.769,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49542,
    "c": 0.19194,
    "h": 321
  },
  "luminance": 0.10415
}

Semantic roles & 50–950 ramp

primary
#902DA2
secondary
#78BF6C
accent
#E0485F
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #902DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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