#9D1FB4#9D1FB4

#9D1FB4 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.6% C 0.226 H 320.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9D1FB4
RGBrgb(157, 31, 180)
HSLhsl(291, 71%, 41%)
HSVhsv(291, 83%, 71%)
CMYKcmyk(12.8%, 82.8%, 0%, 29.4%)
CIE-LABlab(40.32, 67.15, -50.97)
CIE-LCHlch(40.32, 84.30, 322.80°)
OKLaboklab(51.56% 0.1743 -0.1431)
OKLCHoklch(51.56% 0.226 320.6)
XYZxyz(22.6318, 11.4446, 44.1881)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1FB4 #36B41F
analogous
#531FB4 #9D1FB4 #B41F81
triadic
#9D1FB4 #B49D1F #1FB49D
tetradic
#9D1FB4 #B4531F #36B41F #1F81B4
square
#9D1FB4 #B4531F #36B41F #1F81B4
split-complementary
#9D1FB4 #81B41F #1FB453
monochromatic
#420D4C #6F1680 #9D1FB4 #C234DC #D268E5

Accessibility & contrast

On white

6.39
#9D1FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9D1FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1FB4
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1FB4#FFFFFF#000000##FFFFFF
##9D1FB41.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#3263B1
Tritanopia (blue-blind)
#9E426C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9d1fb4;
/* rgb */ color: rgb(157, 31, 180);
/* oklch */ color: oklch(51.6% 0.226 320.6);
Tailwind
colors: {
  custom: {
    50: '#be6dcb',
    500: '#9d1fb4',
    950: '#000000',
  },
}
SCSS
$custom: #9d1fb4;
$custom-light: #be6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1fb4",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 180
  },
  "hsl": {
    "h": 290.738,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51557,
    "c": 0.22554,
    "h": 320.6
  },
  "luminance": 0.11443
}

Semantic roles & 50–950 ramp

primary
#9D1FB4
secondary
#74CB64
accent
#ED3A56
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130813
muted
#827B82

Preview Lab

Preview with #9D1FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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