#9D1E9C#9D1E9C

#9D1E9C is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.208 H 328.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9D1E9C
RGBrgb(157, 30, 156)
HSLhsl(300, 68%, 37%)
HSVhsv(300, 81%, 62%)
CMYKcmyk(0%, 80.9%, 0.6%, 38.4%)
CIE-LABlab(38.72, 63.34, -39.17)
CIE-LCHlch(38.72, 74.48, 328.27°)
OKLaboklab(49.95% 0.1774 -0.1086)
OKLCHoklch(49.95% 0.208 328.5)
XYZxyz(20.3694, 10.4985, 32.3996)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E9C #1E9D1F
analogous
#5E1E9D #9D1E9C #9D1E5D
triadic
#9D1E9C #9C9D1E #1E9C9D
tetradic
#9D1E9C #9D5E1E #1E9D1F #1E5D9D
square
#9D1E9C #9D5E1E #1E9D1F #1E5D9D
split-complementary
#9D1E9C #5D9D1E #1E9D5E
monochromatic
#360A36 #6A1469 #9D1E9C #D028CF #DF57DE

Accessibility & contrast

On white

6.78
#9D1E9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D1E9C
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E9C#FFFFFF#000000##FFFFFF
##9D1E9C1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#456199
Tritanopia (blue-blind)
#A2345E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d1e9c;
/* rgb */ color: rgb(157, 30, 156);
/* oklch */ color: oklch(49.9% 0.208 328.5);
Tailwind
colors: {
  custom: {
    50: '#be6bba',
    500: '#9d1e9c',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e9c;
$custom-light: #be6bba;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e9c",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 156
  },
  "hsl": {
    "h": 300.472,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49947,
    "c": 0.20799,
    "h": 328.5
  },
  "luminance": 0.10497
}

Semantic roles & 50–950 ramp

primary
#9D1E9C
secondary
#54C255
accent
#EB3E3D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D1E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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