#9C2BA2#9C2BA2

#9C2BA2 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.200 H 325.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9C2BA2
RGBrgb(156, 43, 162)
HSLhsl(297, 58%, 40%)
HSVhsv(297, 73%, 64%)
CMYKcmyk(3.7%, 73.5%, 0%, 36.5%)
CIE-LABlab(40.26, 60.25, -40.36)
CIE-LCHlch(40.26, 72.52, 326.18°)
OKLaboklab(51.12% 0.1651 -0.1122)
OKLCHoklch(51.12% 0.2 325.8)
XYZxyz(21.0953, 11.4057, 35.2658)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2BA2 #31A22B
analogous
#612BA2 #9C2BA2 #A22B6C
triadic
#9C2BA2 #A29C2B #2BA29C
tetradic
#9C2BA2 #A2612B #31A22B #2B6CA2
square
#9C2BA2 #A2612B #31A22B #2B6CA2
split-complementary
#9C2BA2 #6CA22B #2BA261
monochromatic
#3F1141 #6D1E72 #9C2BA2 #C53ECC #D36FD9

Accessibility & contrast

On white

6.40
#9C2BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9C2BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2BA2
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2BA2#FFFFFF#000000##FFFFFF
##9C2BA21.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0756A5
Deuteranopia (green-blind)
#46649F
Tritanopia (blue-blind)
#A03F64
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c2ba2;
/* rgb */ color: rgb(156, 43, 162);
/* oklch */ color: oklch(51.1% 0.200 325.8);
Tailwind
colors: {
  custom: {
    50: '#bd70be',
    500: '#9c2ba2',
    950: '#000000',
  },
}
SCSS
$custom: #9c2ba2;
$custom-light: #bd70be;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2ba2",
  "rgb": {
    "r": 156,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 296.975,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51119,
    "c": 0.19966,
    "h": 325.8
  },
  "luminance": 0.11404
}

Semantic roles & 50–950 ramp

primary
#9C2BA2
secondary
#6DC069
accent
#E1474E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9C2BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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