#9C2F8F#9C2F8F

#9C2F8F is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.4% C 0.180 H 333.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9C2F8F
RGBrgb(156, 47, 143)
HSLhsl(307, 54%, 40%)
HSVhsv(307, 70%, 61%)
CMYKcmyk(0%, 69.9%, 8.3%, 38.8%)
CIE-LABlab(39.72, 55.63, -29.70)
CIE-LCHlch(39.72, 63.07, 331.90°)
OKLaboklab(50.4% 0.1605 -0.0814)
OKLCHoklch(50.4% 0.18 333.1)
XYZxyz(19.6848, 11.0857, 27.0843)
Luminance0.1108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2F8F #2F9C3C
analogous
#732F9C #9C2F8F #9C2F59
triadic
#9C2F8F #8F9C2F #2F8F9C
tetradic
#9C2F8F #9C732F #2F9C3C #2F599C
square
#9C2F8F #9C732F #2F9C3C #2F599C
split-complementary
#9C2F8F #599C2F #2F9C73
monochromatic
#3E1339 #6D2164 #9C2F8F #C642B6 #D471C8

Accessibility & contrast

On white

6.53
#9C2F8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9C2F8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2F8F
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2F8F#FFFFFF#000000##FFFFFF
##9C2F8F1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5492
Deuteranopia (green-blind)
#52638C
Tritanopia (blue-blind)
#A3395B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9c2f8f;
/* rgb */ color: rgb(156, 47, 143);
/* oklch */ color: oklch(50.4% 0.180 333.1);
Tailwind
colors: {
  custom: {
    50: '#bc71b0',
    500: '#9c2f8f',
    950: '#000000',
  },
}
SCSS
$custom: #9c2f8f;
$custom-light: #bc71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2f8f",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 143
  },
  "hsl": {
    "h": 307.156,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50402,
    "c": 0.17992,
    "h": 333.1
  },
  "luminance": 0.11084
}

Semantic roles & 50–950 ramp

primary
#9C2F8F
secondary
#6BBC75
accent
#DD5C4B
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C2F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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