#9F1E99#9F1E99

#9F1E99 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.1% C 0.207 H 330.3°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9F1E99
RGBrgb(159, 30, 153)
HSLhsl(303, 68%, 37%)
HSVhsv(303, 81%, 62%)
CMYKcmyk(0%, 81.1%, 3.8%, 37.6%)
CIE-LABlab(38.90, 63.27, -37.05)
CIE-LCHlch(38.90, 73.32, 329.65°)
OKLaboklab(50.08% 0.1795 -0.1024)
OKLCHoklch(50.08% 0.207 330.3)
XYZxyz(20.5121, 10.6011, 31.0967)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E99 #1E9F24
analogous
#651E9F #9F1E99 #9F1E58
triadic
#9F1E99 #999F1E #1E999F
tetradic
#9F1E99 #9F651E #1E9F24 #1E589F
square
#9F1E99 #9F651E #1E9F24 #1E589F
split-complementary
#9F1E99 #589F1E #1E9F65
monochromatic
#380B36 #6C1467 #9F1E99 #D228CB #DF58D9

Accessibility & contrast

On white

6.73
#9F1E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9F1E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1E99
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E99#FFFFFF#000000##FFFFFF
##9F1E991.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04519C
Deuteranopia (green-blind)
#496296
Tritanopia (blue-blind)
#A5325C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f1e99;
/* rgb */ color: rgb(159, 30, 153);
/* oklch */ color: oklch(50.1% 0.207 330.3);
Tailwind
colors: {
  custom: {
    50: '#bf6bb7',
    500: '#9f1e99',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e99;
$custom-light: #bf6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e99",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 302.791,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.50083,
    "c": 0.2067,
    "h": 330.3
  },
  "luminance": 0.10599
}

Semantic roles & 50–950 ramp

primary
#9F1E99
secondary
#56C35B
accent
#EB453D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1E99

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

Preview Lab → · Contrast checker → · Palette generator →

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