#902DA1#902DA1

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

Color values

HEX#902DA1
RGBrgb(144, 45, 161)
HSLhsl(291, 56%, 40%)
HSVhsv(291, 72%, 63%)
CMYKcmyk(10.6%, 72%, 0%, 36.9%)
CIE-LABlab(38.52, 56.71, -42.64)
CIE-LCHlch(38.52, 70.96, 323.06°)
OKLaboklab(49.48% 0.1493 -0.1192)
OKLCHoklch(49.48% 0.191 321.4)
XYZxyz(18.8723, 10.3803, 34.7208)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902DA1 #3EA12D
analogous
#562DA1 #902DA1 #A12D78
triadic
#902DA1 #A1902D #2DA190
tetradic
#902DA1 #A1562D #3EA12D #2D78A1
square
#902DA1 #A1562D #3EA12D #2D78A1
split-complementary
#902DA1 #78A12D #2DA156
monochromatic
#3A1241 #652071 #902DA1 #B641CA #C871D7

Accessibility & contrast

On white

6.83
#902DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #902DA1
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902DA1#FFFFFF#000000##FFFFFF
##902DA11.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#3B5E9E
Tritanopia (blue-blind)
#914264
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #902da1;
/* rgb */ color: rgb(144, 45, 161);
/* oklch */ color: oklch(49.5% 0.191 321.4);
Tailwind
colors: {
  custom: {
    50: '#b470bd',
    500: '#902da1',
    950: '#000000',
  },
}
SCSS
$custom: #902da1;
$custom-light: #b470bd;
$custom-dark: #000000;
JSON
{
  "hex": "#902da1",
  "rgb": {
    "r": 144,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 291.207,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49477,
    "c": 0.19106,
    "h": 321.4
  },
  "luminance": 0.10379
}

Semantic roles & 50–950 ramp

primary
#902DA1
secondary
#77BF6B
accent
#E0485E
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #902DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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