#9F1B95#9F1B95

#9F1B95 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.7% C 0.206 H 331.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9F1B95
RGBrgb(159, 27, 149)
HSLhsl(305, 71%, 36%)
HSVhsv(305, 83%, 62%)
CMYKcmyk(0%, 83%, 6.3%, 37.6%)
CIE-LABlab(38.42, 63.39, -35.38)
CIE-LCHlch(38.42, 72.59, 330.83°)
OKLaboklab(49.67% 0.1817 -0.0976)
OKLCHoklch(49.67% 0.206 331.8)
XYZxyz(20.1149, 10.3264, 29.3617)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B95 #1B9F25
analogous
#671B9F #9F1B95 #9F1B53
triadic
#9F1B95 #959F1B #1B959F
tetradic
#9F1B95 #9F671B #1B9F25 #1B539F
square
#9F1B95 #9F671B #1B9F25 #1B539F
split-complementary
#9F1B95 #539F1B #1B9F67
monochromatic
#360933 #6B1264 #9F1B95 #D324C6 #E253D7

Accessibility & contrast

On white

6.85
#9F1B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9F1B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1B95
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B95#FFFFFF#000000##FFFFFF
##9F1B951.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094F98
Deuteranopia (green-blind)
#4A6192
Tritanopia (blue-blind)
#A62E59
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1b95;
/* rgb */ color: rgb(159, 27, 149);
/* oklch */ color: oklch(49.7% 0.206 331.8);
Tailwind
colors: {
  custom: {
    50: '#bf6ab4',
    500: '#9f1b95',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b95;
$custom-light: #bf6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b95",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 304.545,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4967,
    "c": 0.20623,
    "h": 331.8
  },
  "luminance": 0.10325
}

Semantic roles & 50–950 ramp

primary
#9F1B95
secondary
#51C55A
accent
#EE483A
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1B95

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

Preview Lab → · Contrast checker → · Palette generator →

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