#9C2DA9#9C2DA9

#9C2DA9 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.203 H 323.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9C2DA9
RGBrgb(156, 45, 169)
HSLhsl(294, 58%, 42%)
HSVhsv(294, 73%, 66%)
CMYKcmyk(7.7%, 73.4%, 0%, 33.7%)
CIE-LABlab(40.91, 60.79, -43.49)
CIE-LCHlch(40.91, 74.75, 324.42°)
OKLaboklab(51.72% 0.163 -0.1214)
OKLCHoklch(51.72% 0.203 323.3)
XYZxyz(21.8095, 11.8106, 38.6593)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2DA9 #3AA92D
analogous
#5E2DA9 #9C2DA9 #A92D78
triadic
#9C2DA9 #A99C2D #2DA99C
tetradic
#9C2DA9 #A95E2D #3AA92D #2D78A9
square
#9C2DA9 #A95E2D #3AA92D #2D78A9
split-complementary
#9C2DA9 #78A92D #2DA95E
monochromatic
#431348 #6F2079 #9C2DA9 #BF46CE #D076DA

Accessibility & contrast

On white

6.25
#9C2DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9C2DA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2DA9
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2DA9#FFFFFF#000000##FFFFFF
##9C2DA91.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#4265A6
Tritanopia (blue-blind)
#9F4369
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c2da9;
/* rgb */ color: rgb(156, 45, 169);
/* oklch */ color: oklch(51.7% 0.203 323.3);
Tailwind
colors: {
  custom: {
    50: '#bd71c3',
    500: '#9c2da9',
    950: '#000000',
  },
}
SCSS
$custom: #9c2da9;
$custom-light: #bd71c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2da9",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 293.71,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51723,
    "c": 0.20319,
    "h": 323.3
  },
  "luminance": 0.11809
}

Semantic roles & 50–950 ramp

primary
#9C2DA9
secondary
#78C26F
accent
#E14757
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9C2DA9

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

Preview Lab → · Contrast checker → · Palette generator →

#9C2DA9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva