#9F1D94#9F1D94

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

Color values

HEX#9F1D94
RGBrgb(159, 29, 148)
HSLhsl(305, 69%, 37%)
HSVhsv(305, 82%, 62%)
CMYKcmyk(0%, 81.8%, 6.9%, 37.6%)
CIE-LABlab(38.53, 62.75, -34.60)
CIE-LCHlch(38.53, 71.66, 331.13°)
OKLaboklab(49.73% 0.1803 -0.0953)
OKLCHoklch(49.73% 0.204 332.1)
XYZxyz(20.0828, 10.3895, 28.9589)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D94 #1D9F28
analogous
#691D9F #9F1D94 #9F1D53
triadic
#9F1D94 #949F1D #1D949F
tetradic
#9F1D94 #9F691D #1D9F28 #1D539F
square
#9F1D94 #9F691D #1D9F28 #1D539F
split-complementary
#9F1D94 #539F1D #1D9F69
monochromatic
#370A34 #6B1464 #9F1D94 #D326C4 #E056D5

Accessibility & contrast

On white

6.82
#9F1D94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9F1D94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1D94
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D94#FFFFFF#000000##FFFFFF
##9F1D941.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104F97
Deuteranopia (green-blind)
#4B6191
Tritanopia (blue-blind)
#A62F59
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f1d94;
/* rgb */ color: rgb(159, 29, 148);
/* oklch */ color: oklch(49.7% 0.204 332.1);
Tailwind
colors: {
  custom: {
    50: '#bf6bb4',
    500: '#9f1d94',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d94;
$custom-light: #bf6bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d94",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 305.077,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49731,
    "c": 0.20393,
    "h": 332.1
  },
  "luminance": 0.10388
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F1D94

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

Preview Lab → · Contrast checker → · Palette generator →

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