#902AB7#902AB7

#902AB7 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.214 H 314.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#902AB7
RGBrgb(144, 42, 183)
HSLhsl(283, 63%, 44%)
HSVhsv(283, 77%, 72%)
CMYKcmyk(21.3%, 77%, 0%, 28.2%)
CIE-LABlab(39.59, 62.07, -54.03)
CIE-LCHlch(39.59, 82.29, 318.96°)
OKLaboklab(50.7% 0.1496 -0.1526)
OKLCHoklch(50.7% 0.214 314.4)
XYZxyz(20.8754, 11.0049, 45.8151)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902AB7 #51B72A
analogous
#492AB7 #902AB7 #B72A98
triadic
#902AB7 #B7902A #2AB790
tetradic
#902AB7 #B7492A #51B72A #2A98B7
square
#902AB7 #B7492A #51B72A #2A98B7
split-complementary
#902AB7 #98B72A #2AB749
monochromatic
#421353 #691F85 #902AB7 #AE49D5 #C47BE1

Accessibility & contrast

On white

6.56
#902AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#902AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902AB7
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902AB7#FFFFFF#000000##FFFFFF
##902AB71.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#2060B4
Tritanopia (blue-blind)
#8C4B70
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #902ab7;
/* rgb */ color: rgb(144, 42, 183);
/* oklch */ color: oklch(50.7% 0.214 314.4);
Tailwind
colors: {
  custom: {
    50: '#b56fcd',
    500: '#902ab7',
    950: '#000000',
  },
}
SCSS
$custom: #902ab7;
$custom-light: #b56fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#902ab7",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 283.404,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.507,
    "c": 0.2137,
    "h": 314.4
  },
  "luminance": 0.11004
}

Semantic roles & 50–950 ramp

primary
#902AB7
secondary
#8BC974
accent
#E6426F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #902AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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