#9D1993#9D1993

#9D1993 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.1% C 0.205 H 331.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9D1993
RGBrgb(157, 25, 147)
HSLhsl(305, 73%, 36%)
HSVhsv(305, 84%, 62%)
CMYKcmyk(0%, 84.1%, 6.4%, 38.4%)
CIE-LABlab(37.79, 63.13, -35.18)
CIE-LCHlch(37.79, 72.27, 330.87°)
OKLaboklab(49.12% 0.181 -0.097)
OKLCHoklch(49.12% 0.205 331.8)
XYZxyz(19.5188, 9.9716, 28.4948)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1993 #199D23
analogous
#65199D #9D1993 #9D1951
triadic
#9D1993 #939D19 #19939D
tetradic
#9D1993 #9D6519 #199D23 #19519D
square
#9D1993 #9D6519 #199D23 #19519D
split-complementary
#9D1993 #519D19 #199D65
monochromatic
#330830 #681162 #9D1993 #D221C4 #E34ED7

Accessibility & contrast

On white

7.01
#9D1993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9D1993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1993
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1993#FFFFFF#000000##FFFFFF
##9D19931.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064E96
Deuteranopia (green-blind)
#485F90
Tritanopia (blue-blind)
#A42C58
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d1993;
/* rgb */ color: rgb(157, 25, 147);
/* oklch */ color: oklch(49.1% 0.205 331.8);
Tailwind
colors: {
  custom: {
    50: '#be69b3',
    500: '#9d1993',
    950: '#000000',
  },
}
SCSS
$custom: #9d1993;
$custom-light: #be69b3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1993",
  "rgb": {
    "r": 157,
    "g": 25,
    "b": 147
  },
  "hsl": {
    "h": 304.545,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49118,
    "c": 0.20539,
    "h": 331.8
  },
  "luminance": 0.0997
}

Semantic roles & 50–950 ramp

primary
#9D1993
secondary
#4DC556
accent
#EF4639
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9D1993

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

Preview Lab → · Contrast checker → · Palette generator →

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