#9F1E96#9F1E96

#9F1E96 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.205 H 331.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9F1E96
RGBrgb(159, 30, 150)
HSLhsl(304, 68%, 37%)
HSVhsv(304, 81%, 62%)
CMYKcmyk(0%, 81.1%, 5.7%, 37.6%)
CIE-LABlab(38.73, 62.81, -35.50)
CIE-LCHlch(38.73, 72.14, 330.52°)
OKLaboklab(49.91% 0.1796 -0.0979)
OKLCHoklch(49.91% 0.205 331.4)
XYZxyz(20.2674, 10.5032, 29.8081)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E96 #1E9F27
analogous
#681E9F #9F1E96 #9F1E56
triadic
#9F1E96 #969F1E #1E969F
tetradic
#9F1E96 #9F681E #1E9F27 #1E569F
square
#9F1E96 #9F681E #1E9F27 #1E569F
split-complementary
#9F1E96 #569F1E #1E9F68
monochromatic
#380B35 #6C1465 #9F1E96 #D228C7 #DF58D6

Accessibility & contrast

On white

6.77
#9F1E96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9F1E96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1E96
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E96#FFFFFF#000000##FFFFFF
##9F1E961.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5099
Deuteranopia (green-blind)
#4A6193
Tritanopia (blue-blind)
#A6305A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f1e96;
/* rgb */ color: rgb(159, 30, 150);
/* oklch */ color: oklch(49.9% 0.205 331.4);
Tailwind
colors: {
  custom: {
    50: '#bf6bb5',
    500: '#9f1e96',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e96;
$custom-light: #bf6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e96",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 304.186,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49908,
    "c": 0.20453,
    "h": 331.4
  },
  "luminance": 0.10501
}

Semantic roles & 50–950 ramp

primary
#9F1E96
secondary
#56C35D
accent
#EB493D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1E96

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

Preview Lab → · Contrast checker → · Palette generator →

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