#9F1E93#9F1E93

#9F1E93 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.202 H 332.5°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9F1E93
RGBrgb(159, 30, 147)
HSLhsl(306, 68%, 37%)
HSVhsv(306, 81%, 62%)
CMYKcmyk(0%, 81.1%, 7.5%, 37.6%)
CIE-LABlab(38.56, 62.35, -33.94)
CIE-LCHlch(38.56, 70.98, 331.44°)
OKLaboklab(49.74% 0.1795 -0.0934)
OKLCHoklch(49.74% 0.202 332.5)
XYZxyz(20.0289, 10.4078, 28.5521)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E93 #1E9F2A
analogous
#6A1E9F #9F1E93 #9F1E53
triadic
#9F1E93 #939F1E #1E939F
tetradic
#9F1E93 #9F6A1E #1E9F2A #1E539F
square
#9F1E93 #9F6A1E #1E9F2A #1E539F
split-complementary
#9F1E93 #539F1E #1E9F6A
monochromatic
#380B34 #6C1463 #9F1E93 #D228C3 #DF58D3

Accessibility & contrast

On white

6.82
#9F1E93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9F1E93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1E93
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E93#FFFFFF#000000##FFFFFF
##9F1E931.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134F96
Deuteranopia (green-blind)
#4C6190
Tritanopia (blue-blind)
#A62F59
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f1e93;
/* rgb */ color: rgb(159, 30, 147);
/* oklch */ color: oklch(49.7% 0.202 332.5);
Tailwind
colors: {
  custom: {
    50: '#bf6bb3',
    500: '#9f1e93',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e93;
$custom-light: #bf6bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e93",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 147
  },
  "hsl": {
    "h": 305.581,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49736,
    "c": 0.20238,
    "h": 332.5
  },
  "luminance": 0.10406
}

Semantic roles & 50–950 ramp

primary
#9F1E93
secondary
#56C360
accent
#EB4D3D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1E93

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

Preview Lab → · Contrast checker → · Palette generator →

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