#9D49D9#9D49D9

#9D49D9 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.9% C 0.214 H 307.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9D49D9
RGBrgb(157, 73, 217)
HSLhsl(275, 65%, 57%)
HSVhsv(275, 66%, 85%)
CMYKcmyk(27.6%, 66.4%, 0%, 14.9%)
CIE-LABlab(48.19, 59.19, -59.77)
CIE-LCHlch(48.19, 84.12, 314.72°)
OKLaboklab(57.93% 0.1313 -0.1692)
OKLCHoklch(57.93% 0.214 307.8)
XYZxyz(28.8090, 16.9433, 67.3849)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D49D9 #85D949
analogous
#5549D9 #9D49D9 #D949CD
triadic
#9D49D9 #D99D49 #49D99D
tetradic
#9D49D9 #D95549 #85D949 #49CDD9
square
#9D49D9 #D95549 #85D949 #49CDD9
split-complementary
#9D49D9 #CDD949 #49D955
monochromatic
#5D1D8B #7F28BD #9D49D9 #B87CE4 #D4AEEE

Accessibility & contrast

On white

4.79
#9D49D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9D49D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D49D9
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D49D9#FFFFFF#000000##FFFFFF
##9D49D91.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#2A73D6
Tritanopia (blue-blind)
#94688B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d49d9;
/* rgb */ color: rgb(157, 73, 217);
/* oklch */ color: oklch(57.9% 0.214 307.8);
Tailwind
colors: {
  custom: {
    50: '#be81e6',
    500: '#9d49d9',
    950: '#000000',
  },
}
SCSS
$custom: #9d49d9;
$custom-light: #be81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d49d9",
  "rgb": {
    "r": 157,
    "g": 73,
    "b": 217
  },
  "hsl": {
    "h": 275,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57927,
    "c": 0.21416,
    "h": 307.8
  },
  "luminance": 0.16943
}

Semantic roles & 50–950 ramp

primary
#9D49D9
secondary
#BADCA2
accent
#E83F86
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D49D9

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

Preview Lab → · Contrast checker → · Palette generator →

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