#9F1E9F#9F1E9F

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

Color values

HEX#9F1E9F
RGBrgb(159, 30, 159)
HSLhsl(300, 68%, 37%)
HSVhsv(300, 81%, 62%)
CMYKcmyk(0%, 81.1%, 0%, 37.6%)
CIE-LABlab(39.25, 64.23, -40.13)
CIE-LCHlch(39.25, 75.73, 328.00°)
OKLaboklab(50.44% 0.1793 -0.1114)
OKLCHoklch(50.44% 0.211 328.2)
XYZxyz(21.0201, 10.8043, 33.7725)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E9F #1E9F1E
analogous
#5F1E9F #9F1E9F #9F1E5F
triadic
#9F1E9F #9F9F1E #1E9F9F
tetradic
#9F1E9F #9F5F1E #1E9F1E #1E5F9F
square
#9F1E9F #9F5F1E #1E9F1E #1E5F9F
split-complementary
#9F1E9F #5F9F1E #1E9F5F
monochromatic
#380B38 #6C146C #9F1E9F #D228D2 #DF58DF

Accessibility & contrast

On white

6.64
#9F1E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9F1E9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1E9F
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E9F#FFFFFF#000000##FFFFFF
##9F1E9F1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#45629C
Tritanopia (blue-blind)
#A43560
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f1e9f;
/* rgb */ color: rgb(159, 30, 159);
/* oklch */ color: oklch(50.4% 0.211 328.2);
Tailwind
colors: {
  custom: {
    50: '#bf6cbc',
    500: '#9f1e9f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e9f;
$custom-light: #bf6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e9f",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 300,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.50443,
    "c": 0.21111,
    "h": 328.2
  },
  "luminance": 0.10803
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F1E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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