#9D1E91#9D1E91

#9D1E91 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.3% C 0.200 H 332.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9D1E91
RGBrgb(157, 30, 145)
HSLhsl(306, 68%, 37%)
HSVhsv(306, 81%, 62%)
CMYKcmyk(0%, 80.9%, 7.6%, 38.4%)
CIE-LABlab(38.10, 61.62, -33.48)
CIE-LCHlch(38.10, 70.12, 331.48°)
OKLaboklab(49.3% 0.1775 -0.0921)
OKLCHoklch(49.3% 0.2 332.6)
XYZxyz(19.4798, 10.1427, 27.7144)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E91 #1E9D2A
analogous
#6A1E9D #9D1E91 #9D1E52
triadic
#9D1E91 #919D1E #1E919D
tetradic
#9D1E91 #9D6A1E #1E9D2A #1E529D
square
#9D1E91 #9D6A1E #1E9D2A #1E529D
split-complementary
#9D1E91 #529D1E #1E9D6A
monochromatic
#360A32 #6A1462 #9D1E91 #D028C0 #DF57D2

Accessibility & contrast

On white

6.93
#9D1E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9D1E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1E91
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E91#FFFFFF#000000##FFFFFF
##9D1E911.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144E94
Deuteranopia (green-blind)
#4B608E
Tritanopia (blue-blind)
#A42E58
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d1e91;
/* rgb */ color: rgb(157, 30, 145);
/* oklch */ color: oklch(49.3% 0.200 332.6);
Tailwind
colors: {
  custom: {
    50: '#be6bb1',
    500: '#9d1e91',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e91;
$custom-light: #be6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e91",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 145
  },
  "hsl": {
    "h": 305.669,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.493,
    "c": 0.19997,
    "h": 332.6
  },
  "luminance": 0.10141
}

Semantic roles & 50–950 ramp

primary
#9D1E91
secondary
#54C25F
accent
#EB4D3D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D1E91

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

Preview Lab → · Contrast checker → · Palette generator →

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