#9F1C96#9F1C96

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

Color values

HEX#9F1C96
RGBrgb(159, 28, 150)
HSLhsl(304, 70%, 37%)
HSVhsv(304, 82%, 62%)
CMYKcmyk(0%, 82.4%, 5.7%, 37.6%)
CIE-LABlab(38.56, 63.30, -35.77)
CIE-LCHlch(38.56, 72.71, 330.53°)
OKLaboklab(49.79% 0.181 -0.0987)
OKLCHoklch(49.79% 0.206 331.4)
XYZxyz(20.2184, 10.4052, 29.7918)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C96 #1C9F25
analogous
#671C9F #9F1C96 #9F1C55
triadic
#9F1C96 #969F1C #1C969F
tetradic
#9F1C96 #9F671C #1C9F25 #1C559F
square
#9F1C96 #9F671C #1C9F25 #1C559F
split-complementary
#9F1C96 #559F1C #1C9F67
monochromatic
#370A34 #6B1365 #9F1C96 #D325C7 #E154D7

Accessibility & contrast

On white

6.82
#9F1C96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9F1C96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1C96
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C96#FFFFFF#000000##FFFFFF
##9F1C961.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084F99
Deuteranopia (green-blind)
#4A6193
Tritanopia (blue-blind)
#A62F5A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f1c96;
/* rgb */ color: rgb(159, 28, 150);
/* oklch */ color: oklch(49.8% 0.206 331.4);
Tailwind
colors: {
  custom: {
    50: '#bf6bb5',
    500: '#9f1c96',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c96;
$custom-light: #bf6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c96",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 304.122,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49786,
    "c": 0.20616,
    "h": 331.4
  },
  "luminance": 0.10403
}

Semantic roles & 50–950 ramp

primary
#9F1C96
secondary
#53C45B
accent
#ED473B
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1C96

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

Preview Lab → · Contrast checker → · Palette generator →

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