#902EAB#902EAB

#902EAB is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.199 H 317.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#902EAB
RGBrgb(144, 46, 171)
HSLhsl(287, 58%, 43%)
HSVhsv(287, 73%, 67%)
CMYKcmyk(15.8%, 73.1%, 0%, 32.9%)
CIE-LABlab(39.28, 58.25, -47.40)
CIE-LCHlch(39.28, 75.10, 320.86°)
OKLaboklab(50.23% 0.1475 -0.1332)
OKLCHoklch(50.23% 0.199 317.9)
XYZxyz(19.8282, 10.8244, 39.5651)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902EAB #49AB2E
analogous
#512EAB #902EAB #AB2E88
triadic
#902EAB #AB902E #2EAB90
tetradic
#902EAB #AB512E #49AB2E #2E88AB
square
#902EAB #AB512E #49AB2E #2E88AB
split-complementary
#902EAB #88AB2E #2EAB51
monochromatic
#3F144B #67217B #902EAB #B148CE #C679DB

Accessibility & contrast

On white

6.64
#902EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#902EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902EAB
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902EAB#FFFFFF#000000##FFFFFF
##902EAB1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#3360A8
Tritanopia (blue-blind)
#8F476A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #902eab;
/* rgb */ color: rgb(144, 46, 171);
/* oklch */ color: oklch(50.2% 0.199 317.9);
Tailwind
colors: {
  custom: {
    50: '#b470c5',
    500: '#902eab',
    950: '#000000',
  },
}
SCSS
$custom: #902eab;
$custom-light: #b470c5;
$custom-dark: #000000;
JSON
{
  "hex": "#902eab",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 287.04,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50227,
    "c": 0.19874,
    "h": 317.9
  },
  "luminance": 0.10824
}

Semantic roles & 50–950 ramp

primary
#902EAB
secondary
#83C372
accent
#E14768
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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