#9F1EA7#9F1EA7

#9F1EA7 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.217 H 325.4°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9F1EA7
RGBrgb(159, 30, 167)
HSLhsl(296, 70%, 39%)
HSVhsv(296, 82%, 65%)
CMYKcmyk(4.8%, 82%, 0%, 34.5%)
CIE-LABlab(39.73, 65.54, -44.16)
CIE-LCHlch(39.73, 79.03, 326.03°)
OKLaboklab(50.94% 0.1788 -0.1231)
OKLCHoklch(50.94% 0.217 325.4)
XYZxyz(21.7369, 11.0910, 37.5476)
Luminance0.1109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1EA7 #26A71E
analogous
#5A1EA7 #9F1EA7 #A71E6A
triadic
#9F1EA7 #A79F1E #1EA79F
tetradic
#9F1EA7 #A75A1E #26A71E #1E6AA7
square
#9F1EA7 #A75A1E #26A71E #1E6AA7
split-complementary
#9F1EA7 #6AA71E #1EA75A
monochromatic
#3C0B3F #6E1573 #9F1EA7 #CE2AD9 #DA5DE2

Accessibility & contrast

On white

6.53
#9F1EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9F1EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1EA7
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1EA7#FFFFFF#000000##FFFFFF
##9F1EA71.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#3F63A4
Tritanopia (blue-blind)
#A33A64
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f1ea7;
/* rgb */ color: rgb(159, 30, 167);
/* oklch */ color: oklch(50.9% 0.217 325.4);
Tailwind
colors: {
  custom: {
    50: '#c06cc2',
    500: '#9f1ea7',
    950: '#000000',
  },
}
SCSS
$custom: #9f1ea7;
$custom-light: #c06cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1ea7",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 296.496,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50942,
    "c": 0.21708,
    "h": 325.4
  },
  "luminance": 0.11089
}

Semantic roles & 50–950 ramp

primary
#9F1EA7
secondary
#61C65B
accent
#EC3B46
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9F1EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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