#9D1790#9D1790

#9D1790 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.8% C 0.205 H 332.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9D1790
RGBrgb(157, 23, 144)
HSLhsl(306, 74%, 35%)
HSVhsv(306, 85%, 62%)
CMYKcmyk(0%, 85.4%, 8.3%, 38.4%)
CIE-LABlab(37.47, 63.11, -33.85)
CIE-LCHlch(37.47, 71.62, 331.79°)
OKLaboklab(48.84% 0.1823 -0.0932)
OKLCHoklch(48.84% 0.205 332.9)
XYZxyz(19.2452, 9.7962, 27.2574)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1790 #179D24
analogous
#67179D #9D1790 #9D174D
triadic
#9D1790 #909D17 #17909D
tetradic
#9D1790 #9D6717 #179D24 #174D9D
square
#9D1790 #9D6717 #179D24 #174D9D
split-complementary
#9D1790 #4D9D17 #179D67
monochromatic
#32072E #680F5F #9D1790 #D21FC1 #E44AD5

Accessibility & contrast

On white

7.10
#9D1790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9D1790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1790
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1790#FFFFFF#000000##FFFFFF
##9D17901.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4C93
Deuteranopia (green-blind)
#4A5F8D
Tritanopia (blue-blind)
#A42A56
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d1790;
/* rgb */ color: rgb(157, 23, 144);
/* oklch */ color: oklch(48.8% 0.205 332.9);
Tailwind
colors: {
  custom: {
    50: '#be69b1',
    500: '#9d1790',
    950: '#000000',
  },
}
SCSS
$custom: #9d1790;
$custom-light: #be69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1790",
  "rgb": {
    "r": 157,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 305.821,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.48838,
    "c": 0.20472,
    "h": 332.9
  },
  "luminance": 0.09795
}

Semantic roles & 50–950 ramp

primary
#9D1790
secondary
#4AC656
accent
#F14937
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D1790

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

Preview Lab → · Contrast checker → · Palette generator →

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