#9F1E9D#9F1E9D

#9F1E9D is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.210 H 328.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9F1E9D
RGBrgb(159, 30, 157)
HSLhsl(301, 68%, 37%)
HSVhsv(301, 81%, 62%)
CMYKcmyk(0%, 81.1%, 1.3%, 37.6%)
CIE-LABlab(39.13, 63.91, -39.11)
CIE-LCHlch(39.13, 74.92, 328.54°)
OKLaboklab(50.32% 0.1794 -0.1084)
OKLCHoklch(50.32% 0.21 328.9)
XYZxyz(20.8480, 10.7354, 32.8659)
Luminance0.1073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E9D #1E9F20
analogous
#601E9F #9F1E9D #9F1E5D
triadic
#9F1E9D #9D9F1E #1E9D9F
tetradic
#9F1E9D #9F601E #1E9F20 #1E5D9F
square
#9F1E9D #9F601E #1E9F20 #1E5D9F
split-complementary
#9F1E9D #5D9F1E #1E9F60
monochromatic
#380B37 #6C146A #9F1E9D #D228D0 #DF58DD

Accessibility & contrast

On white

6.67
#9F1E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9F1E9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1E9D
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E9D#FFFFFF#000000##FFFFFF
##9F1E9D1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#46629A
Tritanopia (blue-blind)
#A5345E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f1e9d;
/* rgb */ color: rgb(159, 30, 157);
/* oklch */ color: oklch(50.3% 0.210 328.9);
Tailwind
colors: {
  custom: {
    50: '#bf6cba',
    500: '#9f1e9d',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e9d;
$custom-light: #bf6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e9d",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 300.93,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.50322,
    "c": 0.20962,
    "h": 328.9
  },
  "luminance": 0.10734
}

Semantic roles & 50–950 ramp

primary
#9F1E9D
secondary
#56C357
accent
#EB3F3D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9F1E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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