#9D49D5#9D49D5

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

Color values

HEX#9D49D5
RGBrgb(157, 73, 213)
HSLhsl(276, 63%, 56%)
HSVhsv(276, 66%, 84%)
CMYKcmyk(26.3%, 65.7%, 0%, 16.5%)
CIE-LABlab(47.93, 58.31, -57.90)
CIE-LCHlch(47.93, 82.17, 315.20°)
OKLaboklab(57.66% 0.1316 -0.1637)
OKLCHoklch(57.66% 0.21 308.8)
XYZxyz(28.2950, 16.7378, 64.6780)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D49D5 #81D549
analogous
#5749D5 #9D49D5 #D549C7
triadic
#9D49D5 #D59D49 #49D59D
tetradic
#9D49D5 #D55749 #81D549 #49C7D5
square
#9D49D5 #D55749 #81D549 #49C7D5
split-complementary
#9D49D5 #C7D549 #49D557
monochromatic
#5C1F85 #7E2AB7 #9D49D5 #B87BE0 #D3ACEC

Accessibility & contrast

On white

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

On black

4.35
#9D49D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9D49D5#FFFFFF#000000##FFFFFF
##9D49D51.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED9
Deuteranopia (green-blind)
#3073D2
Tritanopia (blue-blind)
#956689
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d49d5;
/* rgb */ color: rgb(157, 73, 213);
/* oklch */ color: oklch(57.7% 0.210 308.8);
Tailwind
colors: {
  custom: {
    50: '#be81e3',
    500: '#9d49d5',
    950: '#000000',
  },
}
SCSS
$custom: #9d49d5;
$custom-light: #be81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d49d5",
  "rgb": {
    "r": 157,
    "g": 73,
    "b": 213
  },
  "hsl": {
    "h": 276,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57657,
    "c": 0.21007,
    "h": 308.8
  },
  "luminance": 0.16737
}

Semantic roles & 50–950 ramp

primary
#9D49D5
secondary
#B7DAA0
accent
#E64284
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #9D49D5

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

Preview Lab → · Contrast checker → · Palette generator →

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