#9F1996#9F1996

#9F1996 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.208 H 331.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9F1996
RGBrgb(159, 25, 150)
HSLhsl(304, 73%, 36%)
HSVhsv(304, 84%, 62%)
CMYKcmyk(0%, 84.3%, 5.7%, 37.6%)
CIE-LABlab(38.32, 63.99, -36.15)
CIE-LCHlch(38.32, 73.50, 330.54°)
OKLaboklab(49.62% 0.183 -0.0998)
OKLCHoklch(49.62% 0.208 331.4)
XYZxyz(20.1508, 10.2699, 29.7693)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1996 #199F22
analogous
#65199F #9F1996 #9F1953
triadic
#9F1996 #969F19 #19969F
tetradic
#9F1996 #9F6519 #199F22 #19539F
square
#9F1996 #9F6519 #199F22 #19539F
split-complementary
#9F1996 #539F19 #199F65
monochromatic
#350832 #6A1164 #9F1996 #D421C8 #E34FD9

Accessibility & contrast

On white

6.88
#9F1996 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9F1996 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1996
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1996#FFFFFF#000000##FFFFFF
##9F19961.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024F99
Deuteranopia (green-blind)
#496093
Tritanopia (blue-blind)
#A62E59
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1996;
/* rgb */ color: rgb(159, 25, 150);
/* oklch */ color: oklch(49.6% 0.208 331.4);
Tailwind
colors: {
  custom: {
    50: '#bf6ab5',
    500: '#9f1996',
    950: '#000000',
  },
}
SCSS
$custom: #9f1996;
$custom-light: #bf6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1996",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 304.03,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49618,
    "c": 0.20843,
    "h": 331.4
  },
  "luminance": 0.10268
}

Semantic roles & 50–950 ramp

primary
#9F1996
secondary
#4EC656
accent
#F04538
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F1996

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

Preview Lab → · Contrast checker → · Palette generator →

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