#902C96#902C96

#902C96 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.183 H 325.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#902C96
RGBrgb(144, 44, 150)
HSLhsl(297, 55%, 38%)
HSVhsv(297, 71%, 59%)
CMYKcmyk(4%, 70.7%, 0%, 41.2%)
CIE-LABlab(37.72, 55.07, -37.26)
CIE-LCHlch(37.72, 66.49, 325.92°)
OKLaboklab(48.7% 0.1507 -0.1035)
OKLCHoklch(48.7% 0.183 325.5)
XYZxyz(17.9069, 9.9338, 29.8225)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902C96 #32962C
analogous
#5B2C96 #902C96 #962C67
triadic
#902C96 #96902C #2C9690
tetradic
#902C96 #965B2C #32962C #2C6796
square
#902C96 #965B2C #32962C #2C6796
split-complementary
#902C96 #67962C #2C965B
monochromatic
#351037 #631E67 #902C96 #BD3AC5 #CD69D3

Accessibility & contrast

On white

7.03
#902C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#902C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902C96
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902C96#FFFFFF#000000##FFFFFF
##902C961.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135199
Deuteranopia (green-blind)
#425D93
Tritanopia (blue-blind)
#933D5E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #902c96;
/* rgb */ color: rgb(144, 44, 150);
/* oklch */ color: oklch(48.7% 0.183 325.5);
Tailwind
colors: {
  custom: {
    50: '#b46fb5',
    500: '#902c96',
    950: '#000000',
  },
}
SCSS
$custom: #902c96;
$custom-light: #b46fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#902c96",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 296.604,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48698,
    "c": 0.1828,
    "h": 325.5
  },
  "luminance": 0.09933
}

Semantic roles & 50–950 ramp

primary
#902C96
secondary
#69BA64
accent
#DE4A52
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902C96

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

Preview Lab → · Contrast checker → · Palette generator →

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