#902DA8#902DA8

#902DA8 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.197 H 319.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#902DA8
RGBrgb(144, 45, 168)
HSLhsl(288, 58%, 42%)
HSVhsv(288, 73%, 66%)
CMYKcmyk(14.3%, 73.2%, 0%, 34.1%)
CIE-LABlab(38.96, 58.05, -46.14)
CIE-LCHlch(38.96, 74.15, 321.52°)
OKLaboklab(49.93% 0.1488 -0.1294)
OKLCHoklch(49.93% 0.197 319)
XYZxyz(19.5069, 10.6341, 38.0633)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902DA8 #45A82D
analogous
#532DA8 #902DA8 #A82D83
triadic
#902DA8 #A8902D #2DA890
tetradic
#902DA8 #A8532D #45A82D #2D83A8
square
#902DA8 #A8532D #45A82D #2D83A8
split-complementary
#902DA8 #83A82D #2DA853
monochromatic
#3D1347 #672078 #902DA8 #B345CD #C675DA

Accessibility & contrast

On white

6.72
#902DA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #902DA8
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902DA8#FFFFFF#000000##FFFFFF
##902DA81.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#355FA5
Tritanopia (blue-blind)
#904568
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #902da8;
/* rgb */ color: rgb(144, 45, 168);
/* oklch */ color: oklch(49.9% 0.197 319.0);
Tailwind
colors: {
  custom: {
    50: '#b470c2',
    500: '#902da8',
    950: '#000000',
  },
}
SCSS
$custom: #902da8;
$custom-light: #b470c2;
$custom-dark: #000000;
JSON
{
  "hex": "#902da8",
  "rgb": {
    "r": 144,
    "g": 45,
    "b": 168
  },
  "hsl": {
    "h": 288.293,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49933,
    "c": 0.19722,
    "h": 319
  },
  "luminance": 0.10633
}

Semantic roles & 50–950 ramp

primary
#902DA8
secondary
#7FC26F
accent
#E14765
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #902DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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