#9C2F9F#9C2F9F

#9C2F9F is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.193 H 326.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9C2F9F
RGBrgb(156, 47, 159)
HSLhsl(298, 54%, 40%)
HSVhsv(298, 70%, 62%)
CMYKcmyk(1.9%, 70.4%, 0%, 37.6%)
CIE-LABlab(40.58, 58.31, -38.04)
CIE-LCHlch(40.58, 69.62, 326.88°)
OKLaboklab(51.3% 0.1612 -0.1055)
OKLCHoklch(51.3% 0.193 326.8)
XYZxyz(20.9845, 11.6056, 33.9290)
Luminance0.1160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2F9F #329F2F
analogous
#642F9F #9C2F9F #9F2F6A
triadic
#9C2F9F #9F9C2F #2F9F9C
tetradic
#9C2F9F #9F642F #329F2F #2F6A9F
square
#9C2F9F #9F642F #329F2F #2F6A9F
split-complementary
#9C2F9F #6A9F2F #2F9F64
monochromatic
#3F1341 #6E2170 #9C2F9F #C444C8 #D373D6

Accessibility & contrast

On white

6.32
#9C2F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9C2F9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2F9F
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2F9F#FFFFFF#000000##FFFFFF
##9C2F9F1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1957A2
Deuteranopia (green-blind)
#49649C
Tritanopia (blue-blind)
#A04064
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c2f9f;
/* rgb */ color: rgb(156, 47, 159);
/* oklch */ color: oklch(51.3% 0.193 326.8);
Tailwind
colors: {
  custom: {
    50: '#bd72bc',
    500: '#9c2f9f',
    950: '#000000',
  },
}
SCSS
$custom: #9c2f9f;
$custom-light: #bd72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2f9f",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 298.393,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51298,
    "c": 0.19264,
    "h": 326.8
  },
  "luminance": 0.11604
}

Semantic roles & 50–950 ramp

primary
#9C2F9F
secondary
#6FBD6D
accent
#DE4A4E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9C2F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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