#902AB2#902AB2

#902AB2 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.209 H 315.9°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#902AB2
RGBrgb(144, 42, 178)
HSLhsl(285, 62%, 43%)
HSVhsv(285, 76%, 70%)
CMYKcmyk(19.1%, 76.4%, 0%, 30.2%)
CIE-LABlab(39.24, 61.08, -51.63)
CIE-LCHlch(39.24, 79.97, 319.79°)
OKLaboklab(50.35% 0.1504 -0.1455)
OKLCHoklch(50.35% 0.209 315.9)
XYZxyz(20.3642, 10.8004, 43.1228)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902AB2 #4CB22A
analogous
#4C2AB2 #902AB2 #B22A90
triadic
#902AB2 #B2902A #2AB290
tetradic
#902AB2 #B24C2A #4CB22A #2A90B2
square
#902AB2 #B24C2A #4CB22A #2A90B2
split-complementary
#902AB2 #90B22A #2AB24C
monochromatic
#40134F #681E80 #902AB2 #B046D3 #C577DF

Accessibility & contrast

On white

6.65
#902AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #902AB2
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902AB2#FFFFFF#000000##FFFFFF
##902AB21.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#285FAF
Tritanopia (blue-blind)
#8E486D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #902ab2;
/* rgb */ color: rgb(144, 42, 178);
/* oklch */ color: oklch(50.3% 0.209 315.9);
Tailwind
colors: {
  custom: {
    50: '#b56fca',
    500: '#902ab2',
    950: '#000000',
  },
}
SCSS
$custom: #902ab2;
$custom-light: #b56fca;
$custom-dark: #000000;
JSON
{
  "hex": "#902ab2",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 285,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50346,
    "c": 0.2093,
    "h": 315.9
  },
  "luminance": 0.108
}

Semantic roles & 50–950 ramp

primary
#902AB2
secondary
#86C771
accent
#E5436B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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