#9D169E#9D169E

#9D169E is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.6% C 0.215 H 327.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9D169E
RGBrgb(157, 22, 158)
HSLhsl(300, 76%, 35%)
HSVhsv(300, 86%, 62%)
CMYKcmyk(0.6%, 86.1%, 0%, 38%)
CIE-LABlab(38.22, 65.47, -41.18)
CIE-LCHlch(38.22, 77.35, 327.83°)
OKLaboklab(49.63% 0.1824 -0.1145)
OKLCHoklch(49.63% 0.215 327.9)
XYZxyz(20.3628, 10.2121, 33.2398)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D169E #179E16
analogous
#59169E #9D169E #9E165B
triadic
#9D169E #9E9D16 #169E9D
tetradic
#9D169E #9E5916 #179E16 #165B9E
square
#9D169E #9E5916 #179E16 #165B9E
split-complementary
#9D169E #5B9E16 #169E59
monochromatic
#320733 #680F68 #9D169E #D21DD4 #E449E6

Accessibility & contrast

On white

6.90
#9D169E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9D169E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D169E
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D169E#FFFFFF#000000##FFFFFF
##9D169E1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#41609B
Tritanopia (blue-blind)
#A2325E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d169e;
/* rgb */ color: rgb(157, 22, 158);
/* oklch */ color: oklch(49.6% 0.215 327.9);
Tailwind
colors: {
  custom: {
    50: '#be69bb',
    500: '#9d169e',
    950: '#000000',
  },
}
SCSS
$custom: #9d169e;
$custom-light: #be69bb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d169e",
  "rgb": {
    "r": 157,
    "g": 22,
    "b": 158
  },
  "hsl": {
    "h": 299.559,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4963,
    "c": 0.21531,
    "h": 327.9
  },
  "luminance": 0.10211
}

Semantic roles & 50–950 ramp

primary
#9D169E
secondary
#4AC749
accent
#F23637
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130712
muted
#827A81

Preview Lab

Preview with #9D169E

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

Preview Lab → · Contrast checker → · Palette generator →

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