#902DA5#902DA5

#902DA5 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.195 H 320.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#902DA5
RGBrgb(144, 45, 165)
HSLhsl(290, 57%, 41%)
HSVhsv(290, 73%, 65%)
CMYKcmyk(12.7%, 72.7%, 0%, 35.3%)
CIE-LABlab(38.77, 57.47, -44.65)
CIE-LCHlch(38.77, 72.78, 322.16°)
OKLaboklab(49.74% 0.149 -0.1251)
OKLCHoklch(49.74% 0.195 320)
XYZxyz(19.2307, 10.5236, 36.6083)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902DA5 #42A52D
analogous
#542DA5 #902DA5 #A52D7E
triadic
#902DA5 #A5902D #2DA590
tetradic
#902DA5 #A5542D #42A52D #2D7EA5
square
#902DA5 #A5542D #42A52D #2D7EA5
split-complementary
#902DA5 #7EA52D #2DA554
monochromatic
#3C1345 #662075 #902DA5 #B443CC #C773D9

Accessibility & contrast

On white

6.76
#902DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #902DA5
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902DA5#FFFFFF#000000##FFFFFF
##902DA51.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#385FA2
Tritanopia (blue-blind)
#904466
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #902da5;
/* rgb */ color: rgb(144, 45, 165);
/* oklch */ color: oklch(49.7% 0.195 320.0);
Tailwind
colors: {
  custom: {
    50: '#b470c0',
    500: '#902da5',
    950: '#000000',
  },
}
SCSS
$custom: #902da5;
$custom-light: #b470c0;
$custom-dark: #000000;
JSON
{
  "hex": "#902da5",
  "rgb": {
    "r": 144,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 289.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49736,
    "c": 0.19457,
    "h": 320
  },
  "luminance": 0.10523
}

Semantic roles & 50–950 ramp

primary
#902DA5
secondary
#7CC16D
accent
#E04762
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #902DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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