#9F1E9B#9F1E9B

#9F1E9B is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.208 H 329.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9F1E9B
RGBrgb(159, 30, 155)
HSLhsl(302, 68%, 37%)
HSVhsv(302, 81%, 62%)
CMYKcmyk(0%, 81.1%, 2.5%, 37.6%)
CIE-LABlab(39.02, 63.59, -38.08)
CIE-LCHlch(39.02, 74.12, 329.08°)
OKLaboklab(50.2% 0.1795 -0.1054)
OKLCHoklch(50.2% 0.208 329.6)
XYZxyz(20.6786, 10.6677, 31.9739)
Luminance0.1067 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E9B #1E9F22
analogous
#621E9F #9F1E9B #9F1E5B
triadic
#9F1E9B #9B9F1E #1E9B9F
tetradic
#9F1E9B #9F621E #1E9F22 #1E5B9F
square
#9F1E9B #9F621E #1E9F22 #1E5B9F
split-complementary
#9F1E9B #5B9F1E #1E9F62
monochromatic
#380B37 #6C1469 #9F1E9B #D228CD #DF58DB

Accessibility & contrast

On white

6.70
#9F1E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9F1E9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1E9B
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E9B#FFFFFF#000000##FFFFFF
##9F1E9B1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#476298
Tritanopia (blue-blind)
#A5335D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f1e9b;
/* rgb */ color: rgb(159, 30, 155);
/* oklch */ color: oklch(50.2% 0.208 329.6);
Tailwind
colors: {
  custom: {
    50: '#bf6cb9',
    500: '#9f1e9b',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e9b;
$custom-light: #bf6cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e9b",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 301.86,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.50202,
    "c": 0.20816,
    "h": 329.6
  },
  "luminance": 0.10666
}

Semantic roles & 50–950 ramp

primary
#9F1E9B
secondary
#56C359
accent
#EB423D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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