#9F1D92#9F1D92

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

Color values

HEX#9F1D92
RGBrgb(159, 29, 146)
HSLhsl(306, 69%, 37%)
HSVhsv(306, 82%, 62%)
CMYKcmyk(0%, 81.8%, 8.2%, 37.6%)
CIE-LABlab(38.42, 62.45, -33.55)
CIE-LCHlch(38.42, 70.89, 331.75°)
OKLaboklab(49.62% 0.1803 -0.0923)
OKLCHoklch(49.62% 0.203 332.9)
XYZxyz(19.9259, 10.3267, 28.1324)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D92 #1D9F2A
analogous
#6B1D9F #9F1D92 #9F1D51
triadic
#9F1D92 #929F1D #1D929F
tetradic
#9F1D92 #9F6B1D #1D9F2A #1D519F
square
#9F1D92 #9F6B1D #1D9F2A #1D519F
split-complementary
#9F1D92 #519F1D #1D9F6B
monochromatic
#370A33 #6B1462 #9F1D92 #D326C2 #E056D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1D92#FFFFFF#000000##FFFFFF
##9F1D921.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)
#144F95
Deuteranopia (green-blind)
#4C618F
Tritanopia (blue-blind)
#A62D58
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1d92;
/* rgb */ color: rgb(159, 29, 146);
/* oklch */ color: oklch(49.6% 0.203 332.9);
Tailwind
colors: {
  custom: {
    50: '#bf6bb2',
    500: '#9f1d92',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d92;
$custom-light: #bf6bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d92",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 146
  },
  "hsl": {
    "h": 306,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49617,
    "c": 0.20251,
    "h": 332.9
  },
  "luminance": 0.10325
}

Semantic roles & 50–950 ramp

primary
#9F1D92
secondary
#54C45F
accent
#EC4D3C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1D92

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

Preview Lab → · Contrast checker → · Palette generator →

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