#9F1D93#9F1D93

#9F1D93 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.203 H 332.5°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9F1D93
RGBrgb(159, 29, 147)
HSLhsl(306, 69%, 37%)
HSVhsv(306, 82%, 62%)
CMYKcmyk(0%, 81.8%, 7.5%, 37.6%)
CIE-LABlab(38.48, 62.60, -34.07)
CIE-LCHlch(38.48, 71.27, 331.44°)
OKLaboklab(49.67% 0.1803 -0.0938)
OKLCHoklch(49.67% 0.203 332.5)
XYZxyz(20.0040, 10.3580, 28.5438)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D93 #1D9F29
analogous
#6A1D9F #9F1D93 #9F1D52
triadic
#9F1D93 #939F1D #1D939F
tetradic
#9F1D93 #9F6A1D #1D9F29 #1D529F
square
#9F1D93 #9F6A1D #1D9F29 #1D529F
split-complementary
#9F1D93 #529F1D #1D9F6A
monochromatic
#370A33 #6B1463 #9F1D93 #D326C3 #E056D3

Accessibility & contrast

On white

6.84
#9F1D93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F1D93
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D93#FFFFFF#000000##FFFFFF
##9F1D931.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124F96
Deuteranopia (green-blind)
#4C6190
Tritanopia (blue-blind)
#A62E59
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f1d93;
/* rgb */ color: rgb(159, 29, 147);
/* oklch */ color: oklch(49.7% 0.203 332.5);
Tailwind
colors: {
  custom: {
    50: '#bf6bb3',
    500: '#9f1d93',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d93;
$custom-light: #bf6bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d93",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 147
  },
  "hsl": {
    "h": 305.538,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49674,
    "c": 0.20322,
    "h": 332.5
  },
  "luminance": 0.10356
}

Semantic roles & 50–950 ramp

primary
#9F1D93
secondary
#54C45E
accent
#EC4C3C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1D93

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

Preview Lab → · Contrast checker → · Palette generator →

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