#902DA4#902DA4

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

Color values

HEX#902DA4
RGBrgb(144, 45, 164)
HSLhsl(290, 57%, 41%)
HSVhsv(290, 73%, 64%)
CMYKcmyk(12.2%, 72.6%, 0%, 35.7%)
CIE-LABlab(38.70, 57.28, -44.15)
CIE-LCHlch(38.70, 72.32, 322.38°)
OKLaboklab(49.67% 0.1491 -0.1236)
OKLCHoklch(49.67% 0.194 320.3)
XYZxyz(19.1400, 10.4874, 36.1309)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902DA4 #41A42D
analogous
#542DA4 #902DA4 #A42D7C
triadic
#902DA4 #A4902D #2DA490
tetradic
#902DA4 #A4542D #41A42D #2D7CA4
square
#902DA4 #A4542D #41A42D #2D7CA4
split-complementary
#902DA4 #7CA42D #2DA454
monochromatic
#3C1344 #662074 #902DA4 #B443CB #C773D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##902DA4#FFFFFF#000000##FFFFFF
##902DA41.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)
#0054A7
Deuteranopia (green-blind)
#395FA1
Tritanopia (blue-blind)
#914466
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #902da4;
/* rgb */ color: rgb(144, 45, 164);
/* oklch */ color: oklch(49.7% 0.194 320.3);
Tailwind
colors: {
  custom: {
    50: '#b470bf',
    500: '#902da4',
    950: '#000000',
  },
}
SCSS
$custom: #902da4;
$custom-light: #b470bf;
$custom-dark: #000000;
JSON
{
  "hex": "#902da4",
  "rgb": {
    "r": 144,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 289.916,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49671,
    "c": 0.1937,
    "h": 320.3
  },
  "luminance": 0.10486
}

Semantic roles & 50–950 ramp

primary
#902DA4
secondary
#7BC06D
accent
#E04861
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #902DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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