#9D1E98#9D1E98

#9D1E98 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.205 H 330.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9D1E98
RGBrgb(157, 30, 152)
HSLhsl(302, 68%, 37%)
HSVhsv(302, 81%, 62%)
CMYKcmyk(0%, 80.9%, 3.2%, 38.4%)
CIE-LABlab(38.49, 62.70, -37.12)
CIE-LCHlch(38.49, 72.87, 329.38°)
OKLaboklab(49.71% 0.1775 -0.1027)
OKLCHoklch(49.71% 0.205 330)
XYZxyz(20.0363, 10.3653, 30.6451)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E98 #1E9D23
analogous
#631E9D #9D1E98 #9D1E59
triadic
#9D1E98 #989D1E #1E989D
tetradic
#9D1E98 #9D631E #1E9D23 #1E599D
square
#9D1E98 #9D631E #1E9D23 #1E599D
split-complementary
#9D1E98 #599D1E #1E9D63
monochromatic
#360A35 #6A1466 #9D1E98 #D028CA #DF57D9

Accessibility & contrast

On white

6.83
#9D1E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9D1E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1E98
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E98#FFFFFF#000000##FFFFFF
##9D1E981.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02509B
Deuteranopia (green-blind)
#476095
Tritanopia (blue-blind)
#A3325C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d1e98;
/* rgb */ color: rgb(157, 30, 152);
/* oklch */ color: oklch(49.7% 0.205 330.0);
Tailwind
colors: {
  custom: {
    50: '#be6bb7',
    500: '#9d1e98',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e98;
$custom-light: #be6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e98",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 152
  },
  "hsl": {
    "h": 302.362,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49707,
    "c": 0.20504,
    "h": 330
  },
  "luminance": 0.10364
}

Semantic roles & 50–950 ramp

primary
#9D1E98
secondary
#54C259
accent
#EB443D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D1E98

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

Preview Lab → · Contrast checker → · Palette generator →

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