#9F1CA9#9F1CA9

#9F1CA9 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 51.0% C 0.220 H 324.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9F1CA9
RGBrgb(159, 28, 169)
HSLhsl(296, 72%, 39%)
HSVhsv(296, 83%, 66%)
CMYKcmyk(5.9%, 83.4%, 0%, 33.7%)
CIE-LABlab(39.69, 66.35, -45.42)
CIE-LCHlch(39.69, 80.40, 325.61°)
OKLaboklab(50.95% 0.1799 -0.1268)
OKLCHoklch(50.95% 0.22 324.8)
XYZxyz(21.8742, 11.0675, 38.5125)
Luminance0.1107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1CA9 #26A91C
analogous
#581CA9 #9F1CA9 #A91C6C
triadic
#9F1CA9 #A99F1C #1CA99F
tetradic
#9F1CA9 #A9581C #26A91C #1C6CA9
square
#9F1CA9 #A9581C #26A91C #1C6CA9
split-complementary
#9F1CA9 #6CA91C #1CA958
monochromatic
#3C0B40 #6E1374 #9F1CA9 #CE27DB #DA5BE4

Accessibility & contrast

On white

6.54
#9F1CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9F1CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1CA9
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1CA9#FFFFFF#000000##FFFFFF
##9F1CA91.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#3D63A6
Tritanopia (blue-blind)
#A23A65
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f1ca9;
/* rgb */ color: rgb(159, 28, 169);
/* oklch */ color: oklch(51.0% 0.220 324.8);
Tailwind
colors: {
  custom: {
    50: '#c06cc3',
    500: '#9f1ca9',
    950: '#000000',
  },
}
SCSS
$custom: #9f1ca9;
$custom-light: #c06cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1ca9",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 295.745,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50954,
    "c": 0.22011,
    "h": 324.8
  },
  "luminance": 0.11066
}

Semantic roles & 50–950 ramp

primary
#9F1CA9
secondary
#61C859
accent
#EE3946
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9F1CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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