#9F1CB4#9F1CB4

#9F1CB4 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.7% C 0.228 H 321.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9F1CB4
RGBrgb(159, 28, 180)
HSLhsl(292, 73%, 41%)
HSVhsv(292, 84%, 71%)
CMYKcmyk(11.7%, 84.4%, 0%, 29.4%)
CIE-LABlab(40.41, 68.22, -50.81)
CIE-LCHlch(40.41, 85.06, 323.32°)
OKLaboklab(51.68% 0.1785 -0.1426)
OKLCHoklch(51.68% 0.228 321.4)
XYZxyz(22.9506, 11.4981, 44.1816)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1CB4 #31B41C
analogous
#531CB4 #9F1CB4 #B41C7D
triadic
#9F1CB4 #B49F1C #1CB49F
tetradic
#9F1CB4 #B4531C #31B41C #1C7DB4
square
#9F1CB4 #B4531C #31B41C #1C7DB4
split-complementary
#9F1CB4 #7DB41C #1CB453
monochromatic
#410C4A #70147F #9F1CB4 #C62FDF #D564E7

Accessibility & contrast

On white

6.36
#9F1CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9F1CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1CB4
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1CB4#FFFFFF#000000##FFFFFF
##9F1CB41.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#3364B1
Tritanopia (blue-blind)
#A0406B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f1cb4;
/* rgb */ color: rgb(159, 28, 180);
/* oklch */ color: oklch(51.7% 0.228 321.4);
Tailwind
colors: {
  custom: {
    50: '#c06ccb',
    500: '#9f1cb4',
    950: '#000000',
  },
}
SCSS
$custom: #9f1cb4;
$custom-light: #c06ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1cb4",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 291.711,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51682,
    "c": 0.22847,
    "h": 321.4
  },
  "luminance": 0.11497
}

Semantic roles & 50–950 ramp

primary
#9F1CB4
secondary
#6FCC60
accent
#F03851
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130813
muted
#827B82

Preview Lab

Preview with #9F1CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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