#9D1EA1#9D1EA1

#9D1EA1 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.212 H 326.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9D1EA1
RGBrgb(157, 30, 161)
HSLhsl(298, 69%, 37%)
HSVhsv(298, 81%, 63%)
CMYKcmyk(2.5%, 81.4%, 0%, 36.9%)
CIE-LABlab(39.02, 64.16, -41.71)
CIE-LCHlch(39.02, 76.52, 326.97°)
OKLaboklab(50.25% 0.1771 -0.116)
OKLCHoklch(50.25% 0.212 326.8)
XYZxyz(20.8016, 10.6714, 34.6755)
Luminance0.1067 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1EA1 #22A11E
analogous
#5C1EA1 #9D1EA1 #A11E63
triadic
#9D1EA1 #A19D1E #1EA19D
tetradic
#9D1EA1 #A15C1E #22A11E #1E63A1
square
#9D1EA1 #A15C1E #22A11E #1E63A1
split-complementary
#9D1EA1 #63A11E #1EA15C
monochromatic
#380B3A #6B146D #9D1EA1 #CF28D5 #DC59E0

Accessibility & contrast

On white

6.70
#9D1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9D1EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1EA1
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1EA1#FFFFFF#000000##FFFFFF
##9D1EA11.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#42619E
Tritanopia (blue-blind)
#A13761
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d1ea1;
/* rgb */ color: rgb(157, 30, 161);
/* oklch */ color: oklch(50.3% 0.212 326.8);
Tailwind
colors: {
  custom: {
    50: '#be6bbd',
    500: '#9d1ea1',
    950: '#000000',
  },
}
SCSS
$custom: #9d1ea1;
$custom-light: #be6bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1ea1",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 298.168,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.50254,
    "c": 0.21173,
    "h": 326.8
  },
  "luminance": 0.1067
}

Semantic roles & 50–950 ramp

primary
#9D1EA1
secondary
#5AC457
accent
#EB3C42
background
#FCF6FB
surface
#F8ECF7
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9D1EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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