#902BAB#902BAB

#902BAB is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.202 H 318.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#902BAB
RGBrgb(144, 43, 171)
HSLhsl(287, 60%, 42%)
HSVhsv(287, 75%, 67%)
CMYKcmyk(15.8%, 74.9%, 0%, 32.9%)
CIE-LABlab(38.90, 59.36, -48.03)
CIE-LCHlch(38.90, 76.35, 321.02°)
OKLaboklab(49.95% 0.1504 -0.135)
OKLCHoklch(49.95% 0.202 318.1)
XYZxyz(19.7151, 10.5982, 39.5274)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902BAB #46AB2B
analogous
#502BAB #902BAB #AB2B86
triadic
#902BAB #AB902B #2BAB90
tetradic
#902BAB #AB502B #46AB2B #2B86AB
square
#902BAB #AB502B #46AB2B #2B86AB
split-complementary
#902BAB #86AB2B #2BAB50
monochromatic
#3E1249 #671F7A #902BAB #B243D0 #C674DC

Accessibility & contrast

On white

6.73
#902BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#902BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902BAB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902BAB#FFFFFF#000000##FFFFFF
##902BAB1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#315FA8
Tritanopia (blue-blind)
#8F4669
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #902bab;
/* rgb */ color: rgb(144, 43, 171);
/* oklch */ color: oklch(50.0% 0.202 318.1);
Tailwind
colors: {
  custom: {
    50: '#b46fc5',
    500: '#902bab',
    950: '#000000',
  },
}
SCSS
$custom: #902bab;
$custom-light: #b46fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#902bab",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 287.344,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49951,
    "c": 0.2021,
    "h": 318.1
  },
  "luminance": 0.10597
}

Semantic roles & 50–950 ramp

primary
#902BAB
secondary
#80C46E
accent
#E34566
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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