#902AB3#902AB3

#902AB3 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.210 H 315.6°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#902AB3
RGBrgb(144, 42, 179)
HSLhsl(285, 62%, 43%)
HSVhsv(285, 77%, 70%)
CMYKcmyk(19.6%, 76.5%, 0%, 29.8%)
CIE-LABlab(39.31, 61.27, -52.11)
CIE-LCHlch(39.31, 80.44, 319.62°)
OKLaboklab(50.42% 0.1503 -0.1469)
OKLCHoklch(50.42% 0.21 315.6)
XYZxyz(20.4649, 10.8407, 43.6535)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902AB3 #4DB32A
analogous
#4C2AB3 #902AB3 #B32A91
triadic
#902AB3 #B3902A #2AB390
tetradic
#902AB3 #B34C2A #4DB32A #2A91B3
square
#902AB3 #B34C2A #4DB32A #2A91B3
split-complementary
#902AB3 #91B32A #2AB34C
monochromatic
#401350 #681E81 #902AB3 #B046D4 #C578DF

Accessibility & contrast

On white

6.63
#902AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#902AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902AB3
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902AB3#FFFFFF#000000##FFFFFF
##902AB31.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#265FB0
Tritanopia (blue-blind)
#8D496D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #902ab3;
/* rgb */ color: rgb(144, 42, 179);
/* oklch */ color: oklch(50.4% 0.210 315.6);
Tailwind
colors: {
  custom: {
    50: '#b56fca',
    500: '#902ab3',
    950: '#000000',
  },
}
SCSS
$custom: #902ab3;
$custom-light: #b56fca;
$custom-dark: #000000;
JSON
{
  "hex": "#902ab3",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 284.672,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50416,
    "c": 0.21018,
    "h": 315.6
  },
  "luminance": 0.1084
}

Semantic roles & 50–950 ramp

primary
#902AB3
secondary
#87C772
accent
#E5436C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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