#902C9C#902C9C

#902C9C is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.188 H 323.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#902C9C
RGBrgb(144, 44, 156)
HSLhsl(294, 56%, 39%)
HSVhsv(294, 72%, 61%)
CMYKcmyk(7.7%, 71.8%, 0%, 38.8%)
CIE-LABlab(38.08, 56.16, -40.33)
CIE-LCHlch(38.08, 69.14, 324.32°)
OKLaboklab(49.07% 0.1505 -0.1125)
OKLCHoklch(49.07% 0.188 323.2)
XYZxyz(18.4025, 10.1320, 32.4324)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902C9C #389C2C
analogous
#582C9C #902C9C #9C2C70
triadic
#902C9C #9C902C #2C9C90
tetradic
#902C9C #9C582C #389C2C #2C709C
square
#902C9C #9C582C #389C2C #2C709C
split-complementary
#902C9C #709C2C #2C9C58
monochromatic
#38113D #641F6C #902C9C #B93DC8 #CA6DD6

Accessibility & contrast

On white

6.94
#902C9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #902C9C
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902C9C#FFFFFF#000000##FFFFFF
##902C9C1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03529F
Deuteranopia (green-blind)
#3E5E99
Tritanopia (blue-blind)
#924061
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #902c9c;
/* rgb */ color: rgb(144, 44, 156);
/* oklch */ color: oklch(49.1% 0.188 323.2);
Tailwind
colors: {
  custom: {
    50: '#b46fba',
    500: '#902c9c',
    950: '#000000',
  },
}
SCSS
$custom: #902c9c;
$custom-light: #b46fba;
$custom-dark: #000000;
JSON
{
  "hex": "#902c9c",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 156
  },
  "hsl": {
    "h": 293.571,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49066,
    "c": 0.18791,
    "h": 323.2
  },
  "luminance": 0.10131
}

Semantic roles & 50–950 ramp

primary
#902C9C
secondary
#70BD67
accent
#DF4959
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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