#9F1CA1#9F1CA1

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

Color values

HEX#9F1CA1
RGBrgb(159, 28, 161)
HSLhsl(299, 70%, 37%)
HSVhsv(299, 83%, 63%)
CMYKcmyk(1.2%, 82.6%, 0%, 36.9%)
CIE-LABlab(39.20, 65.04, -41.41)
CIE-LCHlch(39.20, 77.10, 327.52°)
OKLaboklab(50.45% 0.1806 -0.1151)
OKLCHoklch(50.45% 0.214 327.5)
XYZxyz(21.1461, 10.7762, 34.6776)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1CA1 #1EA11C
analogous
#5D1CA1 #9F1CA1 #A11C60
triadic
#9F1CA1 #A19F1C #1CA19F
tetradic
#9F1CA1 #A15D1C #1EA11C #1C60A1
square
#9F1CA1 #A15D1C #1EA11C #1C60A1
split-complementary
#9F1CA1 #60A11C #1CA15D
monochromatic
#380A39 #6C136D #9F1CA1 #D225D5 #DF56E2

Accessibility & contrast

On white

6.66
#9F1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F1CA1
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1CA1#FFFFFF#000000##FFFFFF
##9F1CA11.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#43629E
Tritanopia (blue-blind)
#A43560
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f1ca1;
/* rgb */ color: rgb(159, 28, 161);
/* oklch */ color: oklch(50.4% 0.214 327.5);
Tailwind
colors: {
  custom: {
    50: '#bf6bbd',
    500: '#9f1ca1',
    950: '#000000',
  },
}
SCSS
$custom: #9f1ca1;
$custom-light: #bf6bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1ca1",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 299.098,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.50448,
    "c": 0.21415,
    "h": 327.5
  },
  "luminance": 0.10775
}

Semantic roles & 50–950 ramp

primary
#9F1CA1
secondary
#56C554
accent
#ED3B3D
background
#FCF6FB
surface
#F8ECF7
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9F1CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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