#9D1E97#9D1E97

#9D1E97 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.204 H 330.3°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9D1E97
RGBrgb(157, 30, 151)
HSLhsl(303, 68%, 37%)
HSVhsv(303, 81%, 62%)
CMYKcmyk(0%, 80.9%, 3.8%, 38.4%)
CIE-LABlab(38.43, 62.55, -36.60)
CIE-LCHlch(38.43, 72.47, 329.66°)
OKLaboklab(49.65% 0.1775 -0.1012)
OKLCHoklch(49.65% 0.204 330.3)
XYZxyz(19.9548, 10.3326, 30.2156)
Luminance0.1033 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E97 #1E9D24
analogous
#641E9D #9D1E97 #9D1E58
triadic
#9D1E97 #979D1E #1E979D
tetradic
#9D1E97 #9D641E #1E9D24 #1E589D
square
#9D1E97 #9D641E #1E9D24 #1E589D
split-complementary
#9D1E97 #589D1E #1E9D64
monochromatic
#360A34 #6A1466 #9D1E97 #D028C8 #DF57D8

Accessibility & contrast

On white

6.85
#9D1E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9D1E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1E97
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E97#FFFFFF#000000##FFFFFF
##9D1E971.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05509A
Deuteranopia (green-blind)
#486094
Tritanopia (blue-blind)
#A3325B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d1e97;
/* rgb */ color: rgb(157, 30, 151);
/* oklch */ color: oklch(49.6% 0.204 330.3);
Tailwind
colors: {
  custom: {
    50: '#be6bb6',
    500: '#9d1e97',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e97;
$custom-light: #be6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e97",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 302.835,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49648,
    "c": 0.20431,
    "h": 330.3
  },
  "luminance": 0.10331
}

Semantic roles & 50–950 ramp

primary
#9D1E97
secondary
#54C25A
accent
#EB453D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D1E97

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

Preview Lab → · Contrast checker → · Palette generator →

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