#902EA8#902EA8

#902EA8 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.196 H 318.9°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#902EA8
RGBrgb(144, 46, 168)
HSLhsl(288, 57%, 42%)
HSVhsv(288, 73%, 66%)
CMYKcmyk(14.3%, 72.6%, 0%, 34.1%)
CIE-LABlab(39.09, 57.67, -45.92)
CIE-LCHlch(39.09, 73.72, 321.47°)
OKLaboklab(50.03% 0.1478 -0.1288)
OKLCHoklch(50.03% 0.196 318.9)
XYZxyz(19.5455, 10.7114, 38.0761)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902EA8 #46A82E
analogous
#532EA8 #902EA8 #A82E83
triadic
#902EA8 #A8902E #2EA890
tetradic
#902EA8 #A8532E #46A82E #2E83A8
square
#902EA8 #A8532E #46A82E #2E83A8
split-complementary
#902EA8 #83A82E #2EA853
monochromatic
#3E1448 #672178 #902EA8 #B247CD #C677DA

Accessibility & contrast

On white

6.68
#902EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#902EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902EA8
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902EA8#FFFFFF#000000##FFFFFF
##902EA81.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#365FA5
Tritanopia (blue-blind)
#904668
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #902ea8;
/* rgb */ color: rgb(144, 46, 168);
/* oklch */ color: oklch(50.0% 0.196 318.9);
Tailwind
colors: {
  custom: {
    50: '#b470c2',
    500: '#902ea8',
    950: '#000000',
  },
}
SCSS
$custom: #902ea8;
$custom-light: #b470c2;
$custom-dark: #000000;
JSON
{
  "hex": "#902ea8",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 288.197,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50027,
    "c": 0.19607,
    "h": 318.9
  },
  "luminance": 0.1071
}

Semantic roles & 50–950 ramp

primary
#902EA8
secondary
#80C270
accent
#E04866
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #902EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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