#9C2995#9C2995

#9C2995 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.192 H 330.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9C2995
RGBrgb(156, 41, 149)
HSLhsl(304, 58%, 39%)
HSVhsv(304, 74%, 61%)
CMYKcmyk(0%, 73.7%, 4.5%, 38.8%)
CIE-LABlab(39.28, 58.74, -34.05)
CIE-LCHlch(39.28, 67.90, 329.90°)
OKLaboklab(50.19% 0.167 -0.0939)
OKLCHoklch(50.19% 0.192 330.7)
XYZxyz(19.9280, 10.8253, 29.4679)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2995 #299C30
analogous
#69299C #9C2995 #9C295B
triadic
#9C2995 #959C29 #29959C
tetradic
#9C2995 #9C6929 #299C30 #295B9C
square
#9C2995 #9C6929 #299C30 #295B9C
split-complementary
#9C2995 #5B9C29 #299C69
monochromatic
#3B1038 #6C1C67 #9C2995 #CB38C2 #D768D1

Accessibility & contrast

On white

6.64
#9C2995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9C2995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2995
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2995#FFFFFF#000000##FFFFFF
##9C29951.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5298
Deuteranopia (green-blind)
#4C6292
Tritanopia (blue-blind)
#A2385D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c2995;
/* rgb */ color: rgb(156, 41, 149);
/* oklch */ color: oklch(50.2% 0.192 330.7);
Tailwind
colors: {
  custom: {
    50: '#bd6fb4',
    500: '#9c2995',
    950: '#000000',
  },
}
SCSS
$custom: #9c2995;
$custom-light: #bd6fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2995",
  "rgb": {
    "r": 156,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 303.652,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50187,
    "c": 0.1916,
    "h": 330.7
  },
  "luminance": 0.10824
}

Semantic roles & 50–950 ramp

primary
#9C2995
secondary
#63BE69
accent
#E25046
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2995

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

Preview Lab → · Contrast checker → · Palette generator →

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