#9D1A98#9D1A98

#9D1A98 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.208 H 330.0°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9D1A98
RGBrgb(157, 26, 152)
HSLhsl(302, 72%, 36%)
HSVhsv(302, 83%, 62%)
CMYKcmyk(0%, 83.4%, 3.2%, 38.4%)
CIE-LABlab(38.16, 63.68, -37.65)
CIE-LCHlch(38.16, 73.97, 329.40°)
OKLaboklab(49.47% 0.1803 -0.1042)
OKLCHoklch(49.47% 0.208 330)
XYZxyz(19.9414, 10.1755, 30.6135)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A98 #1A9D1F
analogous
#601A9D #9D1A98 #9D1A56
triadic
#9D1A98 #989D1A #1A989D
tetradic
#9D1A98 #9D601A #1A9D1F #1A569D
square
#9D1A98 #9D601A #1A9D1F #1A569D
split-complementary
#9D1A98 #569D1A #1A9D60
monochromatic
#340932 #681165 #9D1A98 #D223CB #E24FDC

Accessibility & contrast

On white

6.92
#9D1A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9D1A98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1A98
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A98#FFFFFF#000000##FFFFFF
##9D1A981.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#466095
Tritanopia (blue-blind)
#A3305B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d1a98;
/* rgb */ color: rgb(157, 26, 152);
/* oklch */ color: oklch(49.5% 0.208 330.0);
Tailwind
colors: {
  custom: {
    50: '#be6ab7',
    500: '#9d1a98',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a98;
$custom-light: #be6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a98",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 152
  },
  "hsl": {
    "h": 302.29,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49469,
    "c": 0.20822,
    "h": 330
  },
  "luminance": 0.10174
}

Semantic roles & 50–950 ramp

primary
#9D1A98
secondary
#4EC453
accent
#EE4039
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9D1A98

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

Preview Lab → · Contrast checker → · Palette generator →

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