#902CAB#902CAB

#902CAB is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.0% C 0.201 H 318.0°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#902CAB
RGBrgb(144, 44, 171)
HSLhsl(287, 59%, 42%)
HSVhsv(287, 74%, 67%)
CMYKcmyk(15.8%, 74.3%, 0%, 32.9%)
CIE-LABlab(39.02, 59.00, -47.82)
CIE-LCHlch(39.02, 75.94, 320.97°)
OKLaboklab(50.04% 0.1495 -0.1344)
OKLCHoklch(50.04% 0.201 318)
XYZxyz(19.7519, 10.6718, 39.5396)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902CAB #47AB2C
analogous
#502CAB #902CAB #AB2C87
triadic
#902CAB #AB902C #2CAB90
tetradic
#902CAB #AB502C #47AB2C #2C87AB
square
#902CAB #AB502C #47AB2C #2C87AB
split-complementary
#902CAB #87AB2C #2CAB50
monochromatic
#3E134A #671F7A #902CAB #B245CF #C676DC

Accessibility & contrast

On white

6.70
#902CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#902CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902CAB
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902CAB#FFFFFF#000000##FFFFFF
##902CAB1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #902cab;
/* rgb */ color: rgb(144, 44, 171);
/* oklch */ color: oklch(50.0% 0.201 318.0);
Tailwind
colors: {
  custom: {
    50: '#b470c5',
    500: '#902cab',
    950: '#000000',
  },
}
SCSS
$custom: #902cab;
$custom-light: #b470c5;
$custom-dark: #000000;
JSON
{
  "hex": "#902cab",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 287.244,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50041,
    "c": 0.201,
    "h": 318
  },
  "luminance": 0.10671
}

Semantic roles & 50–950 ramp

primary
#902CAB
secondary
#81C36F
accent
#E24667
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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