#9F1696#9F1696

#9F1696 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.5% C 0.210 H 331.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9F1696
RGBrgb(159, 22, 150)
HSLhsl(304, 76%, 35%)
HSVhsv(304, 86%, 62%)
CMYKcmyk(0%, 86.2%, 5.7%, 37.6%)
CIE-LABlab(38.11, 64.62, -36.49)
CIE-LCHlch(38.11, 74.21, 330.55°)
OKLaboklab(49.47% 0.1848 -0.1008)
OKLCHoklch(49.47% 0.211 331.4)
XYZxyz(20.0900, 10.1485, 29.7490)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1696 #169F1F
analogous
#64169F #9F1696 #9F1651
triadic
#9F1696 #969F16 #16969F
tetradic
#9F1696 #9F6416 #169F1F #16519F
square
#9F1696 #9F6416 #169F1F #16519F
split-complementary
#9F1696 #519F16 #169F64
monochromatic
#330731 #690F63 #9F1696 #D51DC9 #E64ADC

Accessibility & contrast

On white

6.93
#9F1696 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9F1696 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1696
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1696#FFFFFF#000000##FFFFFF
##9F16961.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#486093
Tritanopia (blue-blind)
#A62C59
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1696;
/* rgb */ color: rgb(159, 22, 150);
/* oklch */ color: oklch(49.5% 0.210 331.4);
Tailwind
colors: {
  custom: {
    50: '#c069b5',
    500: '#9f1696',
    950: '#000000',
  },
}
SCSS
$custom: #9f1696;
$custom-light: #c069b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1696",
  "rgb": {
    "r": 159,
    "g": 22,
    "b": 150
  },
  "hsl": {
    "h": 303.942,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49465,
    "c": 0.2105,
    "h": 331.4
  },
  "luminance": 0.10147
}

Semantic roles & 50–950 ramp

primary
#9F1696
secondary
#4AC752
accent
#F24236
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F1696

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

Preview Lab → · Contrast checker → · Palette generator →

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