#902C8B#902C8B

#902C8B is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.1% C 0.174 H 330.0°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#902C8B
RGBrgb(144, 44, 139)
HSLhsl(303, 53%, 37%)
HSVhsv(303, 69%, 56%)
CMYKcmyk(0%, 69.4%, 3.5%, 43.5%)
CIE-LABlab(37.11, 53.15, -31.51)
CIE-LCHlch(37.11, 61.79, 329.33°)
OKLaboklab(48.06% 0.1504 -0.0868)
OKLCHoklch(48.06% 0.174 330)
XYZxyz(17.0624, 9.5960, 25.3746)
Luminance0.0959 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902C8B #2C9031
analogous
#632C90 #902C8B #902C59
triadic
#902C8B #8B902C #2C8B90
tetradic
#902C8B #90632C #2C9031 #2C5990
square
#902C8B #90632C #2C9031 #2C5990
split-complementary
#902C8B #59902C #2C9063
monochromatic
#320F31 #611E5E #902C8B #BF3AB8 #D066CB

Accessibility & contrast

On white

7.19
#902C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#902C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902C8B
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902C8B#FFFFFF#000000##FFFFFF
##902C8B1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224F8E
Deuteranopia (green-blind)
#485C88
Tritanopia (blue-blind)
#953858
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #902c8b;
/* rgb */ color: rgb(144, 44, 139);
/* oklch */ color: oklch(48.1% 0.174 330.0);
Tailwind
colors: {
  custom: {
    50: '#b46ead',
    500: '#902c8b',
    950: '#000000',
  },
}
SCSS
$custom: #902c8b;
$custom-light: #b46ead;
$custom-dark: #000000;
JSON
{
  "hex": "#902c8b",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 303,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48055,
    "c": 0.17367,
    "h": 330
  },
  "luminance": 0.09595
}

Semantic roles & 50–950 ramp

primary
#902C8B
secondary
#61B765
accent
#DD524B
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #902C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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