#9C2F93#9C2F93

#9C2F93 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.183 H 331.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9C2F93
RGBrgb(156, 47, 147)
HSLhsl(305, 54%, 40%)
HSVhsv(305, 70%, 61%)
CMYKcmyk(0%, 69.9%, 5.8%, 38.8%)
CIE-LABlab(39.93, 56.28, -31.82)
CIE-LCHlch(39.93, 64.65, 330.52°)
OKLaboklab(50.62% 0.1608 -0.0875)
OKLCHoklch(50.62% 0.183 331.5)
XYZxyz(19.9933, 11.2091, 28.7087)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2F93 #2F9C38
analogous
#6F2F9C #9C2F93 #9C2F5D
triadic
#9C2F93 #939C2F #2F939C
tetradic
#9C2F93 #9C6F2F #2F9C38 #2F5D9C
square
#9C2F93 #9C6F2F #2F9C38 #2F5D9C
split-complementary
#9C2F93 #5D9C2F #2F9C6F
monochromatic
#3E133A #6D2167 #9C2F93 #C642BB #D471CC

Accessibility & contrast

On white

6.48
#9C2F93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9C2F93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2F93
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2F93#FFFFFF#000000##FFFFFF
##9C2F931.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285496
Deuteranopia (green-blind)
#506390
Tritanopia (blue-blind)
#A23B5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9c2f93;
/* rgb */ color: rgb(156, 47, 147);
/* oklch */ color: oklch(50.6% 0.183 331.5);
Tailwind
colors: {
  custom: {
    50: '#bc71b3',
    500: '#9c2f93',
    950: '#000000',
  },
}
SCSS
$custom: #9c2f93;
$custom-light: #bc71b3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2f93",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 304.954,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50617,
    "c": 0.18302,
    "h": 331.5
  },
  "luminance": 0.11208
}

Semantic roles & 50–950 ramp

primary
#9C2F93
secondary
#6BBC72
accent
#DD574B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2F93

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

Preview Lab → · Contrast checker → · Palette generator →

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