#902C9B#902C9B

#902C9B is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.187 H 323.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#902C9B
RGBrgb(144, 44, 155)
HSLhsl(294, 56%, 39%)
HSVhsv(294, 72%, 61%)
CMYKcmyk(7.1%, 71.6%, 0%, 39.2%)
CIE-LABlab(38.02, 55.98, -39.82)
CIE-LCHlch(38.02, 68.69, 324.57°)
OKLaboklab(49% 0.1506 -0.111)
OKLCHoklch(49% 0.187 323.6)
XYZxyz(18.3181, 10.0983, 31.9883)
Luminance0.1010 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902C9B #379B2C
analogous
#592C9B #902C9B #9B2C6F
triadic
#902C9B #9B902C #2C9B90
tetradic
#902C9B #9B592C #379B2C #2C6F9B
square
#902C9B #9B592C #379B2C #2C6F9B
split-complementary
#902C9B #6F9B2C #2C9B59
monochromatic
#37113C #641E6B #902C9B #BA3CC8 #CB6CD5

Accessibility & contrast

On white

6.96
#902C9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#902C9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902C9B
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902C9B#FFFFFF#000000##FFFFFF
##902C9B1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06529E
Deuteranopia (green-blind)
#3F5D98
Tritanopia (blue-blind)
#933F61
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #902c9b;
/* rgb */ color: rgb(144, 44, 155);
/* oklch */ color: oklch(49.0% 0.187 323.6);
Tailwind
colors: {
  custom: {
    50: '#b46fb9',
    500: '#902c9b',
    950: '#000000',
  },
}
SCSS
$custom: #902c9b;
$custom-light: #b46fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#902c9b",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 155
  },
  "hsl": {
    "h": 294.054,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49004,
    "c": 0.18706,
    "h": 323.6
  },
  "luminance": 0.10097
}

Semantic roles & 50–950 ramp

primary
#902C9B
secondary
#6FBC67
accent
#DF4958
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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