#9F1D8E#9F1D8E

#9F1D8E is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.4% C 0.200 H 334.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9F1D8E
RGBrgb(159, 29, 142)
HSLhsl(308, 69%, 37%)
HSVhsv(308, 82%, 62%)
CMYKcmyk(0%, 81.8%, 10.7%, 37.6%)
CIE-LABlab(38.21, 61.85, -31.45)
CIE-LCHlch(38.21, 69.39, 333.05°)
OKLaboklab(49.39% 0.1802 -0.0862)
OKLCHoklch(49.39% 0.2 334.4)
XYZxyz(19.6202, 10.2044, 26.5223)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D8E #1D9F2E
analogous
#6F1D9F #9F1D8E #9F1D4D
triadic
#9F1D8E #8E9F1D #1D8E9F
tetradic
#9F1D8E #9F6F1D #1D9F2E #1D4D9F
square
#9F1D8E #9F6F1D #1D9F2E #1D4D9F
split-complementary
#9F1D8E #4D9F1D #1D9F6F
monochromatic
#370A32 #6B1460 #9F1D8E #D326BC #E056CE

Accessibility & contrast

On white

6.91
#9F1D8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9F1D8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1D8E
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D8E#FFFFFF#000000##FFFFFF
##9F1D8E1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4E91
Deuteranopia (green-blind)
#4E608B
Tritanopia (blue-blind)
#A72B56
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1d8e;
/* rgb */ color: rgb(159, 29, 142);
/* oklch */ color: oklch(49.4% 0.200 334.4);
Tailwind
colors: {
  custom: {
    50: '#bf6baf',
    500: '#9f1d8e',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d8e;
$custom-light: #bf6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d8e",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 307.846,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49393,
    "c": 0.19971,
    "h": 334.4
  },
  "luminance": 0.10203
}

Semantic roles & 50–950 ramp

primary
#9F1D8E
secondary
#54C463
accent
#EC533C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F1D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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