#902ABA#902ABA

#902ABA is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.216 H 313.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#902ABA
RGBrgb(144, 42, 186)
HSLhsl(283, 63%, 45%)
HSVhsv(283, 77%, 73%)
CMYKcmyk(22.6%, 77.4%, 0%, 27.1%)
CIE-LABlab(39.80, 62.67, -55.45)
CIE-LCHlch(39.80, 83.68, 318.49°)
OKLaboklab(50.92% 0.1491 -0.1568)
OKLCHoklch(50.92% 0.216 313.6)
XYZxyz(21.1909, 11.1311, 47.4771)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902ABA #54BA2A
analogous
#482ABA #902ABA #BA2A9C
triadic
#902ABA #BA902A #2ABA90
tetradic
#902ABA #BA482A #54BA2A #2A9CBA
square
#902ABA #BA482A #54BA2A #2A9CBA
split-complementary
#902ABA #9CBA2A #2ABA48
monochromatic
#431356 #691F88 #902ABA #AE4BD6 #C47DE2

Accessibility & contrast

On white

6.51
#902ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#902ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902ABA
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902ABA#FFFFFF#000000##FFFFFF
##902ABA1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#1A60B7
Tritanopia (blue-blind)
#8C4C71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #902aba;
/* rgb */ color: rgb(144, 42, 186);
/* oklch */ color: oklch(50.9% 0.216 313.6);
Tailwind
colors: {
  custom: {
    50: '#b56fd0',
    500: '#902aba',
    950: '#000000',
  },
}
SCSS
$custom: #902aba;
$custom-light: #b56fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#902aba",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 282.5,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50916,
    "c": 0.21636,
    "h": 313.6
  },
  "luminance": 0.1113
}

Semantic roles & 50–950 ramp

primary
#902ABA
secondary
#8ECA76
accent
#E64272
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #902ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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