#9F1EA1#9F1EA1

#9F1EA1 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.6% C 0.213 H 327.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9F1EA1
RGBrgb(159, 30, 161)
HSLhsl(299, 69%, 37%)
HSVhsv(299, 81%, 63%)
CMYKcmyk(1.2%, 81.4%, 0%, 36.9%)
CIE-LABlab(39.37, 64.55, -41.14)
CIE-LCHlch(39.37, 76.55, 327.49°)
OKLaboklab(50.57% 0.1792 -0.1143)
OKLCHoklch(50.57% 0.213 327.5)
XYZxyz(21.1951, 10.8743, 34.6939)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1EA1 #20A11E
analogous
#5E1EA1 #9F1EA1 #A11E61
triadic
#9F1EA1 #A19F1E #1EA19F
tetradic
#9F1EA1 #A15E1E #20A11E #1E61A1
square
#9F1EA1 #A15E1E #20A11E #1E61A1
split-complementary
#9F1EA1 #61A11E #1EA15E
monochromatic
#390B3A #6C146D #9F1EA1 #D228D5 #DE59E0

Accessibility & contrast

On white

6.62
#9F1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9F1EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1EA1
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1EA1#FFFFFF#000000##FFFFFF
##9F1EA11.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#44629E
Tritanopia (blue-blind)
#A43661
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f1ea1;
/* rgb */ color: rgb(159, 30, 161);
/* oklch */ color: oklch(50.6% 0.213 327.5);
Tailwind
colors: {
  custom: {
    50: '#bf6cbd',
    500: '#9f1ea1',
    950: '#000000',
  },
}
SCSS
$custom: #9f1ea1;
$custom-light: #bf6cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1ea1",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 299.084,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.50566,
    "c": 0.21259,
    "h": 327.5
  },
  "luminance": 0.10873
}

Semantic roles & 50–950 ramp

primary
#9F1EA1
secondary
#59C457
accent
#EB3C3F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F1EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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