#902C9D#902C9D

#902C9D is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.1% C 0.189 H 322.9°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#902C9D
RGBrgb(144, 44, 157)
HSLhsl(293, 56%, 39%)
HSVhsv(293, 72%, 62%)
CMYKcmyk(8.3%, 72%, 0%, 38.4%)
CIE-LABlab(38.14, 56.34, -40.84)
CIE-LCHlch(38.14, 69.59, 324.07°)
OKLaboklab(49.13% 0.1505 -0.1139)
OKLCHoklch(49.13% 0.189 322.9)
XYZxyz(18.4875, 10.1660, 32.8802)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902C9D #399D2C
analogous
#572C9D #902C9D #9D2C72
triadic
#902C9D #9D902C #2C9D90
tetradic
#902C9D #9D572C #399D2C #2C729D
square
#902C9D #9D572C #399D2C #2C729D
split-complementary
#902C9D #729D2C #2C9D57
monochromatic
#38113D #641F6D #902C9D #B93DC9 #CA6DD6

Accessibility & contrast

On white

6.92
#902C9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#902C9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902C9D
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902C9D#FFFFFF#000000##FFFFFF
##902C9D1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#3D5E9A
Tritanopia (blue-blind)
#924062
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #902c9d;
/* rgb */ color: rgb(144, 44, 157);
/* oklch */ color: oklch(49.1% 0.189 322.9);
Tailwind
colors: {
  custom: {
    50: '#b46fba',
    500: '#902c9d',
    950: '#000000',
  },
}
SCSS
$custom: #902c9d;
$custom-light: #b46fba;
$custom-dark: #000000;
JSON
{
  "hex": "#902c9d",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 157
  },
  "hsl": {
    "h": 293.097,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49129,
    "c": 0.18877,
    "h": 322.9
  },
  "luminance": 0.10165
}

Semantic roles & 50–950 ramp

primary
#902C9D
secondary
#71BD68
accent
#E0485A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #902C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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