#9D1EA0#9D1EA0

#9D1EA0 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.2% C 0.211 H 327.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9D1EA0
RGBrgb(157, 30, 160)
HSLhsl(299, 68%, 37%)
HSVhsv(299, 81%, 63%)
CMYKcmyk(1.9%, 81.3%, 0%, 37.3%)
CIE-LABlab(38.96, 63.99, -41.21)
CIE-LCHlch(38.96, 76.11, 327.22°)
OKLaboklab(50.19% 0.1772 -0.1146)
OKLCHoklch(50.19% 0.211 327.1)
XYZxyz(20.7137, 10.6362, 34.2129)
Luminance0.1064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1EA0 #21A01E
analogous
#5C1EA0 #9D1EA0 #A01E62
triadic
#9D1EA0 #A09D1E #1EA09D
tetradic
#9D1EA0 #A05C1E #21A01E #1E62A0
square
#9D1EA0 #A05C1E #21A01E #1E62A0
split-complementary
#9D1EA0 #62A01E #1EA05C
monochromatic
#380B39 #6A146C #9D1EA0 #D028D4 #DD59E0

Accessibility & contrast

On white

6.72
#9D1EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D1EA0
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1EA0#FFFFFF#000000##FFFFFF
##9D1EA01.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#42619D
Tritanopia (blue-blind)
#A23660
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d1ea0;
/* rgb */ color: rgb(157, 30, 160);
/* oklch */ color: oklch(50.2% 0.211 327.1);
Tailwind
colors: {
  custom: {
    50: '#be6bbd',
    500: '#9d1ea0',
    950: '#000000',
  },
}
SCSS
$custom: #9d1ea0;
$custom-light: #be6bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1ea0",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 298.615,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.50192,
    "c": 0.21097,
    "h": 327.1
  },
  "luminance": 0.10635
}

Semantic roles & 50–950 ramp

primary
#9D1EA0
secondary
#59C456
accent
#EB3D41
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9D1EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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