#9D2995#9D2995

#9D2995 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.192 H 331.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9D2995
RGBrgb(157, 41, 149)
HSLhsl(304, 59%, 39%)
HSVhsv(304, 74%, 62%)
CMYKcmyk(0%, 73.9%, 5.1%, 38.4%)
CIE-LABlab(39.45, 58.97, -33.77)
CIE-LCHlch(39.45, 67.96, 330.20°)
OKLaboklab(50.34% 0.1681 -0.093)
OKLCHoklch(50.34% 0.192 331)
XYZxyz(20.1224, 10.9255, 29.4770)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2995 #299D31
analogous
#6B299D #9D2995 #9D295B
triadic
#9D2995 #959D29 #29959D
tetradic
#9D2995 #9D6B29 #299D31 #295B9D
square
#9D2995 #9D6B29 #299D31 #295B9D
split-complementary
#9D2995 #5B9D29 #299D6B
monochromatic
#3C1039 #6C1C67 #9D2995 #CB38C1 #D869D0

Accessibility & contrast

On white

6.59
#9D2995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9D2995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2995
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2995#FFFFFF#000000##FFFFFF
##9D29951.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5398
Deuteranopia (green-blind)
#4D6392
Tritanopia (blue-blind)
#A3375D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d2995;
/* rgb */ color: rgb(157, 41, 149);
/* oklch */ color: oklch(50.3% 0.192 331.0);
Tailwind
colors: {
  custom: {
    50: '#bd6fb4',
    500: '#9d2995',
    950: '#000000',
  },
}
SCSS
$custom: #9d2995;
$custom-light: #bd6fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2995",
  "rgb": {
    "r": 157,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 304.138,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50342,
    "c": 0.19212,
    "h": 331
  },
  "luminance": 0.10924
}

Semantic roles & 50–950 ramp

primary
#9D2995
secondary
#64BE6A
accent
#E25146
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9D2995

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

Preview Lab → · Contrast checker → · Palette generator →

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