#902EA1#902EA1

#902EA1 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.6% C 0.190 H 321.3°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#902EA1
RGBrgb(144, 46, 161)
HSLhsl(291, 56%, 41%)
HSVhsv(291, 71%, 63%)
CMYKcmyk(10.6%, 71.4%, 0%, 36.9%)
CIE-LABlab(38.65, 56.33, -42.43)
CIE-LCHlch(38.65, 70.52, 323.01°)
OKLaboklab(49.57% 0.1483 -0.1186)
OKLCHoklch(49.57% 0.19 321.3)
XYZxyz(18.9109, 10.4575, 34.7337)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902EA1 #3FA12E
analogous
#562EA1 #902EA1 #A12E79
triadic
#902EA1 #A1902E #2EA190
tetradic
#902EA1 #A1562E #3FA12E #2E79A1
square
#902EA1 #A1562E #3FA12E #2E79A1
split-complementary
#902EA1 #79A12E #2EA156
monochromatic
#3B1342 #652071 #902EA1 #B543C9 #C873D7

Accessibility & contrast

On white

6.79
#902EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#902EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902EA1
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902EA1#FFFFFF#000000##FFFFFF
##902EA11.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #902ea1;
/* rgb */ color: rgb(144, 46, 161);
/* oklch */ color: oklch(49.6% 0.190 321.3);
Tailwind
colors: {
  custom: {
    50: '#b470bd',
    500: '#902ea1',
    950: '#000000',
  },
}
SCSS
$custom: #902ea1;
$custom-light: #b470bd;
$custom-dark: #000000;
JSON
{
  "hex": "#902ea1",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 291.13,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49574,
    "c": 0.18987,
    "h": 321.3
  },
  "luminance": 0.10456
}

Semantic roles & 50–950 ramp

primary
#902EA1
secondary
#78BE6C
accent
#DF495F
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #902EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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