#9C2BA6#9C2BA6

#9C2BA6 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.203 H 324.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9C2BA6
RGBrgb(156, 43, 166)
HSLhsl(295, 59%, 41%)
HSVhsv(295, 74%, 65%)
CMYKcmyk(6%, 74.1%, 0%, 34.9%)
CIE-LABlab(40.49, 60.95, -42.38)
CIE-LCHlch(40.49, 74.23, 325.19°)
OKLaboklab(51.36% 0.165 -0.1181)
OKLCHoklch(51.36% 0.203 324.4)
XYZxyz(21.4565, 11.5502, 37.1683)
Luminance0.1155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2BA6 #35A62B
analogous
#5E2BA6 #9C2BA6 #A62B72
triadic
#9C2BA6 #A69C2B #2BA69C
tetradic
#9C2BA6 #A65E2B #35A62B #2B72A6
square
#9C2BA6 #A65E2B #35A62B #2B72A6
split-complementary
#9C2BA6 #72A62B #2BA65E
monochromatic
#411245 #6E1E75 #9C2BA6 #C241CE #D271DA

Accessibility & contrast

On white

6.34
#9C2BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9C2BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2BA6
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2BA6#FFFFFF#000000##FFFFFF
##9C2BA61.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#4364A3
Tritanopia (blue-blind)
#9F4166
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c2ba6;
/* rgb */ color: rgb(156, 43, 166);
/* oklch */ color: oklch(51.4% 0.203 324.4);
Tailwind
colors: {
  custom: {
    50: '#bd70c1',
    500: '#9c2ba6',
    950: '#000000',
  },
}
SCSS
$custom: #9c2ba6;
$custom-light: #bd70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2ba6",
  "rgb": {
    "r": 156,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 295.122,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51364,
    "c": 0.2029,
    "h": 324.4
  },
  "luminance": 0.11549
}

Semantic roles & 50–950 ramp

primary
#9C2BA6
secondary
#72C16B
accent
#E24652
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9C2BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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