#9D1893#9D1893

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

Color values

HEX#9D1893
RGBrgb(157, 24, 147)
HSLhsl(305, 73%, 35%)
HSVhsv(305, 85%, 62%)
CMYKcmyk(0%, 84.7%, 6.4%, 38.4%)
CIE-LABlab(37.72, 63.35, -35.30)
CIE-LCHlch(37.72, 72.52, 330.87°)
OKLaboklab(49.06% 0.1817 -0.0974)
OKLCHoklch(49.06% 0.206 331.8)
XYZxyz(19.4978, 9.9296, 28.4878)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1893 #189D22
analogous
#64189D #9D1893 #9D1851
triadic
#9D1893 #939D18 #18939D
tetradic
#9D1893 #9D6418 #189D22 #18519D
square
#9D1893 #9D6418 #189D22 #18519D
split-complementary
#9D1893 #519D18 #189D64
monochromatic
#330830 #681061 #9D1893 #D220C5 #E44CD8

Accessibility & contrast

On white

7.03
#9D1893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1893
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1893#FFFFFF#000000##FFFFFF
##9D18931.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1893;
/* rgb */ color: rgb(157, 24, 147);
/* oklch */ color: oklch(49.1% 0.206 331.8);
Tailwind
colors: {
  custom: {
    50: '#be69b3',
    500: '#9d1893',
    950: '#000000',
  },
}
SCSS
$custom: #9d1893;
$custom-light: #be69b3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1893",
  "rgb": {
    "r": 157,
    "g": 24,
    "b": 147
  },
  "hsl": {
    "h": 304.511,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49064,
    "c": 0.20612,
    "h": 331.8
  },
  "luminance": 0.09928
}

Semantic roles & 50–950 ramp

primary
#9D1893
secondary
#4BC555
accent
#F04638
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9D1893

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

Preview Lab → · Contrast checker → · Palette generator →

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