#9D4AD2#9D4AD2

#9D4AD2 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.6% C 0.206 H 309.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9D4AD2
RGBrgb(157, 74, 210)
HSLhsl(277, 60%, 56%)
HSVhsv(277, 65%, 82%)
CMYKcmyk(25.2%, 64.8%, 0%, 17.6%)
CIE-LABlab(47.90, 57.18, -56.22)
CIE-LCHlch(47.90, 80.19, 315.48°)
OKLaboklab(57.58% 0.1307 -0.1588)
OKLCHoklch(57.58% 0.206 309.5)
XYZxyz(27.9840, 16.7193, 62.7132)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4AD2 #7FD24A
analogous
#594AD2 #9D4AD2 #D24AC3
triadic
#9D4AD2 #D29D4A #4AD29D
tetradic
#9D4AD2 #D2594A #7FD24A #4AC3D2
square
#9D4AD2 #D2594A #7FD24A #4AC3D2
split-complementary
#9D4AD2 #C3D24A #4AD259
monochromatic
#5C2081 #7E2CB2 #9D4AD2 #B87BDE #D2ACEA

Accessibility & contrast

On white

4.83
#9D4AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9D4AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4AD2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4AD2#FFFFFF#000000##FFFFFF
##9D4AD21.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#3573CF
Tritanopia (blue-blind)
#966688
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d4ad2;
/* rgb */ color: rgb(157, 74, 210);
/* oklch */ color: oklch(57.6% 0.206 309.5);
Tailwind
colors: {
  custom: {
    50: '#be82e0',
    500: '#9d4ad2',
    950: '#000000',
  },
}
SCSS
$custom: #9d4ad2;
$custom-light: #be82e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4ad2",
  "rgb": {
    "r": 157,
    "g": 74,
    "b": 210
  },
  "hsl": {
    "h": 276.618,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57579,
    "c": 0.20568,
    "h": 309.5
  },
  "luminance": 0.16719
}

Semantic roles & 50–950 ramp

primary
#9D4AD2
secondary
#B6D8A0
accent
#E34482
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9D4AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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