#9C1F93#9C1F93

#9C1F93 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.3% C 0.200 H 331.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9C1F93
RGBrgb(156, 31, 147)
HSLhsl(304, 67%, 37%)
HSVhsv(304, 80%, 61%)
CMYKcmyk(0%, 80.1%, 5.8%, 38.8%)
CIE-LABlab(38.12, 61.45, -34.67)
CIE-LCHlch(38.12, 70.56, 330.57°)
OKLaboklab(49.32% 0.1757 -0.0956)
OKLCHoklch(49.32% 0.2 331.5)
XYZxyz(19.4668, 10.1561, 28.5332)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F93 #1F9C28
analogous
#671F9C #9C1F93 #9C1F55
triadic
#9C1F93 #939C1F #1F939C
tetradic
#9C1F93 #9C671F #1F9C28 #1F559C
square
#9C1F93 #9C671F #1F9C28 #1F559C
split-complementary
#9C1F93 #559C1F #1F9C67
monochromatic
#360B33 #691563 #9C1F93 #CF29C3 #DE58D4

Accessibility & contrast

On white

6.93
#9C1F93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9C1F93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C1F93
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F93#FFFFFF#000000##FFFFFF
##9C1F931.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104F96
Deuteranopia (green-blind)
#496090
Tritanopia (blue-blind)
#A33059
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c1f93;
/* rgb */ color: rgb(156, 31, 147);
/* oklch */ color: oklch(49.3% 0.200 331.5);
Tailwind
colors: {
  custom: {
    50: '#bd6bb3',
    500: '#9c1f93',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f93;
$custom-light: #bd6bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f93",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 304.32,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49319,
    "c": 0.20006,
    "h": 331.5
  },
  "luminance": 0.10154
}

Semantic roles & 50–950 ramp

primary
#9C1F93
secondary
#55C15D
accent
#EA4A3E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C1F93

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

Preview Lab → · Contrast checker → · Palette generator →

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