#9C1F90#9C1F90

#9C1F90 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.198 H 332.6°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9C1F90
RGBrgb(156, 31, 144)
HSLhsl(306, 67%, 37%)
HSVhsv(306, 80%, 61%)
CMYKcmyk(0%, 80.1%, 7.7%, 38.8%)
CIE-LABlab(37.96, 60.98, -33.10)
CIE-LCHlch(37.96, 69.39, 331.51°)
OKLaboklab(49.15% 0.1757 -0.0911)
OKLCHoklch(49.15% 0.198 332.6)
XYZxyz(19.2344, 10.0632, 27.3095)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F90 #1F9C2B
analogous
#6A1F9C #9C1F90 #9C1F52
triadic
#9C1F90 #909C1F #1F909C
tetradic
#9C1F90 #9C6A1F #1F9C2B #1F529C
square
#9C1F90 #9C6A1F #1F9C2B #1F529C
split-complementary
#9C1F90 #529C1F #1F9C6A
monochromatic
#360B32 #691561 #9C1F90 #CF29BF #DE58D1

Accessibility & contrast

On white

6.97
#9C1F90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9C1F90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C1F90
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F90#FFFFFF#000000##FFFFFF
##9C1F901.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164E93
Deuteranopia (green-blind)
#4B5F8D
Tritanopia (blue-blind)
#A32E57
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c1f90;
/* rgb */ color: rgb(156, 31, 144);
/* oklch */ color: oklch(49.1% 0.198 332.6);
Tailwind
colors: {
  custom: {
    50: '#bd6bb1',
    500: '#9c1f90',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f90;
$custom-light: #bd6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f90",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 305.76,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49148,
    "c": 0.19789,
    "h": 332.6
  },
  "luminance": 0.10062
}

Semantic roles & 50–950 ramp

primary
#9C1F90
secondary
#55C160
accent
#EA4F3E
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130810
muted
#827A7F

Preview Lab

Preview with #9C1F90

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

Preview Lab → · Contrast checker → · Palette generator →

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