#902EA4#902EA4

#902EA4 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.193 H 320.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#902EA4
RGBrgb(144, 46, 164)
HSLhsl(290, 56%, 41%)
HSVhsv(290, 72%, 64%)
CMYKcmyk(12.2%, 72%, 0%, 35.7%)
CIE-LABlab(38.84, 56.90, -43.93)
CIE-LCHlch(38.84, 71.89, 322.33°)
OKLaboklab(49.77% 0.1481 -0.123)
OKLCHoklch(49.77% 0.193 320.3)
XYZxyz(19.1786, 10.5646, 36.1437)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902EA4 #42A42E
analogous
#552EA4 #902EA4 #A42E7D
triadic
#902EA4 #A4902E #2EA490
tetradic
#902EA4 #A4552E #42A42E #2E7DA4
square
#902EA4 #A4552E #42A42E #2E7DA4
split-complementary
#902EA4 #7DA42E #2EA455
monochromatic
#3C1344 #662174 #902EA4 #B445CB #C774D8

Accessibility & contrast

On white

6.75
#902EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#902EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902EA4
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902EA4#FFFFFF#000000##FFFFFF
##902EA41.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#395FA1
Tritanopia (blue-blind)
#914466
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #902ea4;
/* rgb */ color: rgb(144, 46, 164);
/* oklch */ color: oklch(49.8% 0.193 320.3);
Tailwind
colors: {
  custom: {
    50: '#b470bf',
    500: '#902ea4',
    950: '#000000',
  },
}
SCSS
$custom: #902ea4;
$custom-light: #b470bf;
$custom-dark: #000000;
JSON
{
  "hex": "#902ea4",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 289.831,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49766,
    "c": 0.19252,
    "h": 320.3
  },
  "luminance": 0.10564
}

Semantic roles & 50–950 ramp

primary
#902EA4
secondary
#7CC06E
accent
#DF4862
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #902EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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