#9D1992#9D1992

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

Color values

HEX#9D1992
RGBrgb(157, 25, 146)
HSLhsl(305, 73%, 36%)
HSVhsv(305, 84%, 62%)
CMYKcmyk(0%, 84.1%, 7%, 38.4%)
CIE-LABlab(37.74, 62.98, -34.66)
CIE-LCHlch(37.74, 71.89, 331.17°)
OKLaboklab(49.06% 0.181 -0.0955)
OKLCHoklch(49.06% 0.205 332.2)
XYZxyz(19.4406, 9.9404, 28.0834)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1992 #199D24
analogous
#66199D #9D1992 #9D1950
triadic
#9D1992 #929D19 #19929D
tetradic
#9D1992 #9D6619 #199D24 #19509D
square
#9D1992 #9D6619 #199D24 #19509D
split-complementary
#9D1992 #509D19 #199D66
monochromatic
#330830 #681161 #9D1992 #D221C3 #E34ED6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D1992#FFFFFF#000000##FFFFFF
##9D19921.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)
#094D95
Deuteranopia (green-blind)
#495F8F
Tritanopia (blue-blind)
#A42C57
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d1992;
/* rgb */ color: rgb(157, 25, 146);
/* oklch */ color: oklch(49.1% 0.205 332.2);
Tailwind
colors: {
  custom: {
    50: '#be69b2',
    500: '#9d1992',
    950: '#000000',
  },
}
SCSS
$custom: #9d1992;
$custom-light: #be69b2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1992",
  "rgb": {
    "r": 157,
    "g": 25,
    "b": 146
  },
  "hsl": {
    "h": 305,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4906,
    "c": 0.20468,
    "h": 332.2
  },
  "luminance": 0.09939
}

Semantic roles & 50–950 ramp

primary
#9D1992
secondary
#4DC557
accent
#EF4839
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9D1992

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

Preview Lab → · Contrast checker → · Palette generator →

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