#9C2BA9#9C2BA9

#9C2BA9 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.205 H 323.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9C2BA9
RGBrgb(156, 43, 169)
HSLhsl(294, 59%, 42%)
HSVhsv(294, 75%, 66%)
CMYKcmyk(7.7%, 74.6%, 0%, 33.7%)
CIE-LABlab(40.67, 61.48, -43.88)
CIE-LCHlch(40.67, 75.53, 324.48°)
OKLaboklab(51.55% 0.1648 -0.1225)
OKLCHoklch(51.55% 0.205 323.4)
XYZxyz(21.7349, 11.6616, 38.6345)
Luminance0.1166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2BA9 #38A92B
analogous
#5D2BA9 #9C2BA9 #A92B77
triadic
#9C2BA9 #A99C2B #2BA99C
tetradic
#9C2BA9 #A95D2B #38A92B #2B77A9
square
#9C2BA9 #A95D2B #38A92B #2B77A9
split-complementary
#9C2BA9 #77A92B #2BA95D
monochromatic
#421247 #6F1F78 #9C2BA9 #C042CF #D173DB

Accessibility & contrast

On white

6.30
#9C2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9C2BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2BA9
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2BA9#FFFFFF#000000##FFFFFF
##9C2BA91.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#4164A6
Tritanopia (blue-blind)
#9F4268
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c2ba9;
/* rgb */ color: rgb(156, 43, 169);
/* oklch */ color: oklch(51.6% 0.205 323.4);
Tailwind
colors: {
  custom: {
    50: '#bd71c3',
    500: '#9c2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #9c2ba9;
$custom-light: #bd71c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2ba9",
  "rgb": {
    "r": 156,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 293.81,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51551,
    "c": 0.20536,
    "h": 323.4
  },
  "luminance": 0.1166
}

Semantic roles & 50–950 ramp

primary
#9C2BA9
secondary
#76C36D
accent
#E34555
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9C2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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