#9C2697#9C2697

#9C2697 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.1% C 0.196 H 329.9°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9C2697
RGBrgb(156, 38, 151)
HSLhsl(303, 61%, 38%)
HSVhsv(303, 76%, 61%)
CMYKcmyk(0%, 75.6%, 3.2%, 38.8%)
CIE-LABlab(39.05, 60.04, -35.63)
CIE-LCHlch(39.05, 69.82, 329.31°)
OKLaboklab(50.06% 0.1699 -0.0984)
OKLCHoklch(50.06% 0.196 329.9)
XYZxyz(19.9892, 10.6901, 30.2827)
Luminance0.1069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2697 #269C2B
analogous
#66269C #9C2697 #9C265C
triadic
#9C2697 #979C26 #26979C
tetradic
#9C2697 #9C6626 #269C2B #265C9C
square
#9C2697 #9C6626 #269C2B #265C9C
split-complementary
#9C2697 #5C9C26 #269C66
monochromatic
#3A0E38 #6B1A67 #9C2697 #CD32C7 #D963D4

Accessibility & contrast

On white

6.69
#9C2697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9C2697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2697
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2697#FFFFFF#000000##FFFFFF
##9C26971.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15529A
Deuteranopia (green-blind)
#4A6194
Tritanopia (blue-blind)
#A2375D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c2697;
/* rgb */ color: rgb(156, 38, 151);
/* oklch */ color: oklch(50.1% 0.196 329.9);
Tailwind
colors: {
  custom: {
    50: '#bd6eb6',
    500: '#9c2697',
    950: '#000000',
  },
}
SCSS
$custom: #9c2697;
$custom-light: #bd6eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2697",
  "rgb": {
    "r": 156,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 302.542,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50057,
    "c": 0.19633,
    "h": 329.9
  },
  "luminance": 0.10689
}

Semantic roles & 50–950 ramp

primary
#9C2697
secondary
#5FBF63
accent
#E44B44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2697

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

Preview Lab → · Contrast checker → · Palette generator →

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