#9F1E9E#9F1E9E

#9F1E9E is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.210 H 328.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9F1E9E
RGBrgb(159, 30, 158)
HSLhsl(300, 68%, 37%)
HSVhsv(300, 81%, 62%)
CMYKcmyk(0%, 81.1%, 0.6%, 37.6%)
CIE-LABlab(39.19, 64.07, -39.62)
CIE-LCHlch(39.19, 75.33, 328.27°)
OKLaboklab(50.38% 0.1794 -0.1099)
OKLCHoklch(50.38% 0.21 328.5)
XYZxyz(20.9337, 10.7697, 33.3173)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E9E #1E9F1F
analogous
#601E9F #9F1E9E #9F1E5E
triadic
#9F1E9E #9E9F1E #1E9E9F
tetradic
#9F1E9E #9F601E #1E9F1F #1E5E9F
square
#9F1E9E #9F601E #1E9F1F #1E5E9F
split-complementary
#9F1E9E #5E9F1E #1E9F60
monochromatic
#380B38 #6C146B #9F1E9E #D228D1 #DF58DE

Accessibility & contrast

On white

6.66
#9F1E9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F1E9E
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E9E#FFFFFF#000000##FFFFFF
##9F1E9E1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#46629B
Tritanopia (blue-blind)
#A4355F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f1e9e;
/* rgb */ color: rgb(159, 30, 158);
/* oklch */ color: oklch(50.4% 0.210 328.5);
Tailwind
colors: {
  custom: {
    50: '#bf6cbb',
    500: '#9f1e9e',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e9e;
$custom-light: #bf6cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e9e",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 300.465,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.50382,
    "c": 0.21036,
    "h": 328.5
  },
  "luminance": 0.10768
}

Semantic roles & 50–950 ramp

primary
#9F1E9E
secondary
#56C356
accent
#EB3E3D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9F1E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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