#9C2495#9C2495

#9C2495 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.197 H 330.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9C2495
RGBrgb(156, 36, 149)
HSLhsl(304, 63%, 38%)
HSVhsv(304, 77%, 61%)
CMYKcmyk(0%, 76.9%, 4.5%, 38.8%)
CIE-LABlab(38.73, 60.34, -34.93)
CIE-LCHlch(38.73, 69.72, 329.93°)
OKLaboklab(49.79% 0.1716 -0.0964)
OKLCHoklch(49.79% 0.197 330.7)
XYZxyz(19.7659, 10.5012, 29.4138)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2495 #249C2B
analogous
#67249C #9C2495 #9C2459
triadic
#9C2495 #959C24 #24959C
tetradic
#9C2495 #9C6724 #249C2B #24599C
square
#9C2495 #9C6724 #249C2B #24599C
split-complementary
#9C2495 #599C24 #249C67
monochromatic
#390D36 #6A1966 #9C2495 #CE2FC4 #DA60D3

Accessibility & contrast

On white

6.77
#9C2495 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9C2495 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2495
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2495#FFFFFF#000000##FFFFFF
##9C24951.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155198
Deuteranopia (green-blind)
#4A6192
Tritanopia (blue-blind)
#A2345B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2495;
/* rgb */ color: rgb(156, 36, 149);
/* oklch */ color: oklch(49.8% 0.197 330.7);
Tailwind
colors: {
  custom: {
    50: '#bd6db4',
    500: '#9c2495',
    950: '#000000',
  },
}
SCSS
$custom: #9c2495;
$custom-light: #bd6db4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2495",
  "rgb": {
    "r": 156,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 303.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49788,
    "c": 0.19684,
    "h": 330.7
  },
  "luminance": 0.105
}

Semantic roles & 50–950 ramp

primary
#9C2495
secondary
#5CBF62
accent
#E64C42
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2495

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

Preview Lab → · Contrast checker → · Palette generator →

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