#9D1A90#9D1A90

#9D1A90 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.203 H 332.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9D1A90
RGBrgb(157, 26, 144)
HSLhsl(306, 72%, 36%)
HSVhsv(306, 83%, 62%)
CMYKcmyk(0%, 83.4%, 8.3%, 38.4%)
CIE-LABlab(37.70, 62.45, -33.49)
CIE-LCHlch(37.70, 70.86, 331.80°)
OKLaboklab(49% 0.1804 -0.0921)
OKLCHoklch(49% 0.203 332.9)
XYZxyz(19.3082, 9.9222, 27.2784)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A90 #1A9D27
analogous
#681A9D #9D1A90 #9D1A4E
triadic
#9D1A90 #909D1A #1A909D
tetradic
#9D1A90 #9D681A #1A9D27 #1A4E9D
square
#9D1A90 #9D681A #1A9D27 #1A4E9D
split-complementary
#9D1A90 #4E9D1A #1A9D68
monochromatic
#340930 #681160 #9D1A90 #D223C0 #E24FD3

Accessibility & contrast

On white

7.04
#9D1A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9D1A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1A90
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A90#FFFFFF#000000##FFFFFF
##9D1A901.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104D93
Deuteranopia (green-blind)
#4A5F8D
Tritanopia (blue-blind)
#A42B56
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d1a90;
/* rgb */ color: rgb(157, 26, 144);
/* oklch */ color: oklch(49.0% 0.203 332.9);
Tailwind
colors: {
  custom: {
    50: '#be69b1',
    500: '#9d1a90',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a90;
$custom-light: #be69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a90",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 305.954,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49001,
    "c": 0.20253,
    "h": 332.9
  },
  "luminance": 0.09921
}

Semantic roles & 50–950 ramp

primary
#9D1A90
secondary
#4EC45A
accent
#EE4B39
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D1A90

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

Preview Lab → · Contrast checker → · Palette generator →

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