#902C8C#902C8C

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

Color values

HEX#902C8C
RGBrgb(144, 44, 140)
HSLhsl(302, 53%, 37%)
HSVhsv(302, 69%, 56%)
CMYKcmyk(0%, 69.4%, 2.8%, 43.5%)
CIE-LABlab(37.16, 53.32, -32.04)
CIE-LCHlch(37.16, 62.20, 329.00°)
OKLaboklab(48.11% 0.1504 -0.0884)
OKLCHoklch(48.11% 0.174 329.6)
XYZxyz(17.1358, 9.6254, 25.7612)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902C8C #2C9030
analogous
#622C90 #902C8C #902C5A
triadic
#902C8C #8C902C #2C8C90
tetradic
#902C8C #90622C #2C9030 #2C5A90
square
#902C8C #90622C #2C9030 #2C5A90
split-complementary
#902C8C #5A902C #2C9062
monochromatic
#320F31 #611E5E #902C8C #BF3ABA #D066CC

Accessibility & contrast

On white

7.18
#902C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #902C8C
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902C8C#FFFFFF#000000##FFFFFF
##902C8C1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F8F
Deuteranopia (green-blind)
#485C89
Tritanopia (blue-blind)
#953958
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #902c8c;
/* rgb */ color: rgb(144, 44, 140);
/* oklch */ color: oklch(48.1% 0.174 329.6);
Tailwind
colors: {
  custom: {
    50: '#b46eae',
    500: '#902c8c',
    950: '#000000',
  },
}
SCSS
$custom: #902c8c;
$custom-light: #b46eae;
$custom-dark: #000000;
JSON
{
  "hex": "#902c8c",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 302.4,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48112,
    "c": 0.17448,
    "h": 329.6
  },
  "luminance": 0.09624
}

Semantic roles & 50–950 ramp

primary
#902C8C
secondary
#61B764
accent
#DD514B
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #902C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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