#9C2F8E#9C2F8E

#9C2F8E is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.3% C 0.179 H 333.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9C2F8E
RGBrgb(156, 47, 142)
HSLhsl(308, 54%, 40%)
HSVhsv(308, 70%, 61%)
CMYKcmyk(0%, 69.9%, 9%, 38.8%)
CIE-LABlab(39.67, 55.47, -29.17)
CIE-LCHlch(39.67, 62.68, 332.26°)
OKLaboklab(50.35% 0.1604 -0.0799)
OKLCHoklch(50.35% 0.179 333.5)
XYZxyz(19.6094, 11.0556, 26.6871)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2F8E #2F9C3D
analogous
#732F9C #9C2F8E #9C2F58
triadic
#9C2F8E #8E9C2F #2F8E9C
tetradic
#9C2F8E #9C732F #2F9C3D #2F589C
square
#9C2F8E #9C732F #2F9C3D #2F589C
split-complementary
#9C2F8E #589C2F #2F9C73
monochromatic
#3E1338 #6D2163 #9C2F8E #C642B5 #D471C8

Accessibility & contrast

On white

6.54
#9C2F8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9C2F8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2F8E
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2F8E#FFFFFF#000000##FFFFFF
##9C2F8E1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5391
Deuteranopia (green-blind)
#52638B
Tritanopia (blue-blind)
#A3395B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c2f8e;
/* rgb */ color: rgb(156, 47, 142);
/* oklch */ color: oklch(50.3% 0.179 333.5);
Tailwind
colors: {
  custom: {
    50: '#bc71af',
    500: '#9c2f8e',
    950: '#000000',
  },
}
SCSS
$custom: #9c2f8e;
$custom-light: #bc71af;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2f8e",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 142
  },
  "hsl": {
    "h": 307.706,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50349,
    "c": 0.17916,
    "h": 333.5
  },
  "luminance": 0.11054
}

Semantic roles & 50–950 ramp

primary
#9C2F8E
secondary
#6BBC75
accent
#DD5E4B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C2F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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