#9F1D9F#9F1D9F

#9F1D9F is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.212 H 328.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9F1D9F
RGBrgb(159, 29, 159)
HSLhsl(300, 69%, 37%)
HSVhsv(300, 82%, 62%)
CMYKcmyk(0%, 81.8%, 0%, 37.6%)
CIE-LABlab(39.16, 64.47, -40.26)
CIE-LCHlch(39.16, 76.01, 328.02°)
OKLaboklab(50.38% 0.18 -0.1117)
OKLCHoklch(50.38% 0.212 328.2)
XYZxyz(20.9952, 10.7545, 33.7642)
Luminance0.1075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D9F #1D9F1D
analogous
#5E1D9F #9F1D9F #9F1D5E
triadic
#9F1D9F #9F9F1D #1D9F9F
tetradic
#9F1D9F #9F5E1D #1D9F1D #1D5E9F
square
#9F1D9F #9F5E1D #1D9F1D #1D5E9F
split-complementary
#9F1D9F #5E9F1D #1D9F5E
monochromatic
#370A37 #6B146B #9F1D9F #D326D3 #E056E0

Accessibility & contrast

On white

6.67
#9F1D9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9F1D9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1D9F
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D9F#FFFFFF#000000##FFFFFF
##9F1D9F1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#45629C
Tritanopia (blue-blind)
#A4355F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f1d9f;
/* rgb */ color: rgb(159, 29, 159);
/* oklch */ color: oklch(50.4% 0.212 328.2);
Tailwind
colors: {
  custom: {
    50: '#bf6bbc',
    500: '#9f1d9f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d9f;
$custom-light: #bf6bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d9f",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 159
  },
  "hsl": {
    "h": 300,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.50383,
    "c": 0.2119,
    "h": 328.2
  },
  "luminance": 0.10753
}

Semantic roles & 50–950 ramp

primary
#9F1D9F
secondary
#54C454
accent
#EC3C3C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9F1D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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