#9C2F92#9C2F92

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

Color values

HEX#9C2F92
RGBrgb(156, 47, 146)
HSLhsl(306, 54%, 40%)
HSVhsv(306, 70%, 61%)
CMYKcmyk(0%, 69.9%, 6.4%, 38.8%)
CIE-LABlab(39.88, 56.12, -31.29)
CIE-LCHlch(39.88, 64.25, 330.86°)
OKLaboklab(50.56% 0.1607 -0.0859)
OKLCHoklch(50.56% 0.182 331.9)
XYZxyz(19.9151, 11.1778, 28.2972)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2F92 #2F9C39
analogous
#702F9C #9C2F92 #9C2F5B
triadic
#9C2F92 #929C2F #2F929C
tetradic
#9C2F92 #9C702F #2F9C39 #2F5B9C
square
#9C2F92 #9C702F #2F9C39 #2F5B9C
split-complementary
#9C2F92 #5B9C2F #2F9C70
monochromatic
#3E133A #6D2166 #9C2F92 #C642BA #D471CB

Accessibility & contrast

On white

6.49
#9C2F92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C2F92
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2F92#FFFFFF#000000##FFFFFF
##9C2F921.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285495
Deuteranopia (green-blind)
#50638F
Tritanopia (blue-blind)
#A33A5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9c2f92;
/* rgb */ color: rgb(156, 47, 146);
/* oklch */ color: oklch(50.6% 0.182 331.9);
Tailwind
colors: {
  custom: {
    50: '#bc71b2',
    500: '#9c2f92',
    950: '#000000',
  },
}
SCSS
$custom: #9c2f92;
$custom-light: #bc71b2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2f92",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 305.505,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50563,
    "c": 0.18224,
    "h": 331.9
  },
  "luminance": 0.11176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C2F92

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

Preview Lab → · Contrast checker → · Palette generator →

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