#9C2E8B#9C2E8B

#9C2E8B is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.1% C 0.178 H 334.8°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9C2E8B
RGBrgb(156, 46, 139)
HSLhsl(309, 54%, 40%)
HSVhsv(309, 71%, 61%)
CMYKcmyk(0%, 70.5%, 10.9%, 38.8%)
CIE-LABlab(39.39, 55.37, -27.78)
CIE-LCHlch(39.39, 61.95, 333.35°)
OKLaboklab(50.1% 0.1612 -0.0759)
OKLCHoklch(50.1% 0.178 334.8)
XYZxyz(19.3477, 10.8876, 25.5036)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2E8B #2E9C3F
analogous
#762E9C #9C2E8B #9C2E54
triadic
#9C2E8B #8B9C2E #2E8B9C
tetradic
#9C2E8B #9C762E #2E9C3F #2E549C
square
#9C2E8B #9C762E #2E9C3F #2E549C
split-complementary
#9C2E8B #549C2E #2E9C76
monochromatic
#3D1237 #6D2061 #9C2E8B #C740B2 #D570C5

Accessibility & contrast

On white

6.61
#9C2E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9C2E8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2E8B
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2E8B#FFFFFF#000000##FFFFFF
##9C2E8B1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528E
Deuteranopia (green-blind)
#536388
Tritanopia (blue-blind)
#A43659
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c2e8b;
/* rgb */ color: rgb(156, 46, 139);
/* oklch */ color: oklch(50.1% 0.178 334.8);
Tailwind
colors: {
  custom: {
    50: '#bd71ad',
    500: '#9c2e8b',
    950: '#000000',
  },
}
SCSS
$custom: #9c2e8b;
$custom-light: #bd71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2e8b",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 139
  },
  "hsl": {
    "h": 309.273,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50095,
    "c": 0.17814,
    "h": 334.8
  },
  "luminance": 0.10886
}

Semantic roles & 50–950 ramp

primary
#9C2E8B
secondary
#6ABC76
accent
#DE614A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C2E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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