#9D4698#9D4698

#9D4698 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 53.7% C 0.155 H 329.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9D4698
RGBrgb(157, 70, 152)
HSLhsl(303, 38%, 45%)
HSVhsv(303, 55%, 62%)
CMYKcmyk(0%, 55.4%, 3.2%, 38.4%)
CIE-LABlab(43.97, 47.40, -28.49)
CIE-LCHlch(43.97, 55.30, 328.99°)
OKLaboklab(53.67% 0.1337 -0.0781)
OKLCHoklch(53.67% 0.155 329.7)
XYZxyz(21.7621, 13.8168, 31.2203)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4698 #469D4B
analogous
#77469D #9D4698 #9D466D
triadic
#9D4698 #989D46 #46989D
tetradic
#9D4698 #9D7746 #469D4B #466D9D
square
#9D4698 #9D7746 #469D4B #466D9D
split-complementary
#9D4698 #6D9D46 #469D77
monochromatic
#482046 #73336F #9D4698 #BB66B6 #CD90CA

Accessibility & contrast

On white

5.58
#9D4698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9D4698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4698
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4698#FFFFFF#000000##FFFFFF
##9D46981.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40609B
Deuteranopia (green-blind)
#5B6C96
Tritanopia (blue-blind)
#A24E68
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d4698;
/* rgb */ color: rgb(157, 70, 152);
/* oklch */ color: oklch(53.7% 0.155 329.7);
Tailwind
colors: {
  custom: {
    50: '#bc7eb6',
    500: '#9d4698',
    950: '#000000',
  },
}
SCSS
$custom: #9d4698;
$custom-light: #bc7eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4698",
  "rgb": {
    "r": 157,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 303.448,
    "s": 38.326,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53672,
    "c": 0.15481,
    "h": 329.7
  },
  "luminance": 0.13815
}

Semantic roles & 50–950 ramp

primary
#9D4698
secondary
#86B989
accent
#CE605A
background
#FBF7FB
surface
#F7EEF6
border
#D0C9D0
text
#120A11
muted
#817C80

Preview Lab

Preview with #9D4698

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

Preview Lab → · Contrast checker → · Palette generator →

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