#9C2E93#9C2E93

#9C2E93 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.184 H 331.4°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9C2E93
RGBrgb(156, 46, 147)
HSLhsl(305, 54%, 40%)
HSVhsv(305, 71%, 61%)
CMYKcmyk(0%, 70.5%, 5.8%, 38.8%)
CIE-LABlab(39.80, 56.65, -32.02)
CIE-LCHlch(39.80, 65.08, 330.52°)
OKLaboklab(50.52% 0.1618 -0.0881)
OKLCHoklch(50.52% 0.184 331.4)
XYZxyz(19.9537, 11.1301, 28.6955)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2E93 #2E9C37
analogous
#6E2E9C #9C2E93 #9C2E5C
triadic
#9C2E93 #939C2E #2E939C
tetradic
#9C2E93 #9C6E2E #2E9C37 #2E5C9C
square
#9C2E93 #9C6E2E #2E9C37 #2E5C9C
split-complementary
#9C2E93 #5C9C2E #2E9C6E
monochromatic
#3D123A #6D2066 #9C2E93 #C740BC #D570CC

Accessibility & contrast

On white

6.51
#9C2E93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9C2E93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2E93
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2E93#FFFFFF#000000##FFFFFF
##9C2E931.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265496
Deuteranopia (green-blind)
#4F6390
Tritanopia (blue-blind)
#A23A5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9c2e93;
/* rgb */ color: rgb(156, 46, 147);
/* oklch */ color: oklch(50.5% 0.184 331.4);
Tailwind
colors: {
  custom: {
    50: '#bd71b3',
    500: '#9c2e93',
    950: '#000000',
  },
}
SCSS
$custom: #9c2e93;
$custom-light: #bd71b3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2e93",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 304.909,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50522,
    "c": 0.18425,
    "h": 331.4
  },
  "luminance": 0.11128
}

Semantic roles & 50–950 ramp

primary
#9C2E93
secondary
#6ABC70
accent
#DE564A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2E93

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

Preview Lab → · Contrast checker → · Palette generator →

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