#9F1D96#9F1D96

#9F1D96 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.205 H 331.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9F1D96
RGBrgb(159, 29, 150)
HSLhsl(304, 69%, 37%)
HSVhsv(304, 82%, 62%)
CMYKcmyk(0%, 81.8%, 5.7%, 37.6%)
CIE-LABlab(38.64, 63.06, -35.64)
CIE-LCHlch(38.64, 72.43, 330.53°)
OKLaboklab(49.85% 0.1803 -0.0983)
OKLCHoklch(49.85% 0.205 331.4)
XYZxyz(20.2425, 10.4534, 29.7998)
Luminance0.1045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D96 #1D9F26
analogous
#671D9F #9F1D96 #9F1D55
triadic
#9F1D96 #969F1D #1D969F
tetradic
#9F1D96 #9F671D #1D9F26 #1D559F
square
#9F1D96 #9F671D #1D9F26 #1D559F
split-complementary
#9F1D96 #559F1D #1D9F67
monochromatic
#370A34 #6B1465 #9F1D96 #D326C7 #E056D7

Accessibility & contrast

On white

6.80
#9F1D96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9F1D96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1D96
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D96#FFFFFF#000000##FFFFFF
##9F1D961.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5099
Deuteranopia (green-blind)
#4A6193
Tritanopia (blue-blind)
#A6305A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f1d96;
/* rgb */ color: rgb(159, 29, 150);
/* oklch */ color: oklch(49.8% 0.205 331.4);
Tailwind
colors: {
  custom: {
    50: '#bf6bb5',
    500: '#9f1d96',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d96;
$custom-light: #bf6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d96",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 304.154,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49846,
    "c": 0.20536,
    "h": 331.4
  },
  "luminance": 0.10452
}

Semantic roles & 50–950 ramp

primary
#9F1D96
secondary
#54C45C
accent
#EC483C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1D96

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

Preview Lab → · Contrast checker → · Palette generator →

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