#9C2F99#9C2F99

#9C2F99 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.188 H 329.1°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9C2F99
RGBrgb(156, 47, 153)
HSLhsl(302, 54%, 40%)
HSVhsv(302, 70%, 61%)
CMYKcmyk(0%, 69.9%, 1.9%, 38.8%)
CIE-LABlab(40.25, 57.28, -34.95)
CIE-LCHlch(40.25, 67.10, 328.61°)
OKLaboklab(50.95% 0.1611 -0.0965)
OKLCHoklch(50.95% 0.188 329.1)
XYZxyz(20.4764, 11.4023, 31.2532)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2F99 #2F9C32
analogous
#682F9C #9C2F99 #9C2F63
triadic
#9C2F99 #999C2F #2F999C
tetradic
#9C2F99 #9C682F #2F9C32 #2F639C
square
#9C2F99 #9C682F #2F9C32 #2F639C
split-complementary
#9C2F99 #639C2F #2F9C68
monochromatic
#3E133D #6D216B #9C2F99 #C642C2 #D471D2

Accessibility & contrast

On white

6.40
#9C2F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9C2F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2F99
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2F99#FFFFFF#000000##FFFFFF
##9C2F991.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21569C
Deuteranopia (green-blind)
#4D6496
Tritanopia (blue-blind)
#A13D60
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c2f99;
/* rgb */ color: rgb(156, 47, 153);
/* oklch */ color: oklch(51.0% 0.188 329.1);
Tailwind
colors: {
  custom: {
    50: '#bd72b7',
    500: '#9c2f99',
    950: '#000000',
  },
}
SCSS
$custom: #9c2f99;
$custom-light: #bd72b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2f99",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 301.651,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50951,
    "c": 0.18778,
    "h": 329.1
  },
  "luminance": 0.11401
}

Semantic roles & 50–950 ramp

primary
#9C2F99
secondary
#6BBC6D
accent
#DD4F4B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2F99

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

Preview Lab → · Contrast checker → · Palette generator →

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