#9D1FBC#9D1FBC

#9D1FBC is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 52.1% C 0.232 H 318.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9D1FBC
RGBrgb(157, 31, 188)
HSLhsl(288, 72%, 43%)
HSVhsv(288, 84%, 74%)
CMYKcmyk(16.5%, 83.5%, 0%, 26.3%)
CIE-LABlab(40.86, 68.58, -54.81)
CIE-LCHlch(40.86, 87.79, 321.37°)
OKLaboklab(52.11% 0.173 -0.1544)
OKLCHoklch(52.11% 0.232 318.2)
XYZxyz(23.4704, 11.7800, 48.6047)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1FBC #3EBC1F
analogous
#4F1FBC #9D1FBC #BC1F8C
triadic
#9D1FBC #BC9D1F #1FBC9D
tetradic
#9D1FBC #BC4F1F #3EBC1F #1F8CBC
square
#9D1FBC #BC4F1F #3EBC1F #1F8CBC
split-complementary
#9D1FBC #8CBC1F #1FBC4F
monochromatic
#450E53 #711687 #9D1FBC #BE3ADE #CF6EE7

Accessibility & contrast

On white

6.26
#9D1FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9D1FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1FBC
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1FBC#FFFFFF#000000##FFFFFF
##9D1FBC1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#2864B9
Tritanopia (blue-blind)
#9C4671
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d1fbc;
/* rgb */ color: rgb(157, 31, 188);
/* oklch */ color: oklch(52.1% 0.232 318.2);
Tailwind
colors: {
  custom: {
    50: '#bf6dd1',
    500: '#9d1fbc',
    950: '#000000',
  },
}
SCSS
$custom: #9d1fbc;
$custom-light: #bf6dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1fbc",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 188
  },
  "hsl": {
    "h": 288.153,
    "s": 71.689,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52112,
    "c": 0.23185,
    "h": 318.2
  },
  "luminance": 0.11779
}

Semantic roles & 50–950 ramp

primary
#9D1FBC
secondary
#7DCD69
accent
#EE395D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9D1FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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