#9D1E88#9D1E88

#9D1E88 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.194 H 336.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9D1E88
RGBrgb(157, 30, 136)
HSLhsl(310, 68%, 37%)
HSVhsv(310, 81%, 62%)
CMYKcmyk(0%, 80.9%, 13.4%, 38.4%)
CIE-LABlab(37.62, 60.28, -28.71)
CIE-LCHlch(37.62, 66.76, 334.53°)
OKLaboklab(48.8% 0.1771 -0.0784)
OKLCHoklch(48.8% 0.194 336.1)
XYZxyz(18.8132, 9.8760, 24.2032)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E88 #1E9D33
analogous
#731E9D #9D1E88 #9D1E49
triadic
#9D1E88 #889D1E #1E889D
tetradic
#9D1E88 #9D731E #1E9D33 #1E499D
square
#9D1E88 #9D731E #1E9D33 #1E499D
split-complementary
#9D1E88 #499D1E #1E9D73
monochromatic
#360A2F #6A145B #9D1E88 #D028B5 #DF57C8

Accessibility & contrast

On white

7.06
#9D1E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9D1E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1E88
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E88#FFFFFF#000000##FFFFFF
##9D1E881.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204D8B
Deuteranopia (green-blind)
#4F5F85
Tritanopia (blue-blind)
#A52952
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d1e88;
/* rgb */ color: rgb(157, 30, 136);
/* oklch */ color: oklch(48.8% 0.194 336.1);
Tailwind
colors: {
  custom: {
    50: '#be6aab',
    500: '#9d1e88',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e88;
$custom-light: #be6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e88",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 309.921,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48803,
    "c": 0.19368,
    "h": 336.1
  },
  "luminance": 0.09874
}

Semantic roles & 50–950 ramp

primary
#9D1E88
secondary
#54C267
accent
#EB5A3D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D1E88

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

Preview Lab → · Contrast checker → · Palette generator →

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