#9D49D2#9D49D2

#9D49D2 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.5% C 0.207 H 309.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9D49D2
RGBrgb(157, 73, 210)
HSLhsl(277, 60%, 55%)
HSVhsv(277, 65%, 82%)
CMYKcmyk(25.2%, 65.2%, 0%, 17.6%)
CIE-LABlab(47.74, 57.65, -56.50)
CIE-LCHlch(47.74, 80.71, 315.58°)
OKLaboklab(57.46% 0.1318 -0.1596)
OKLCHoklch(57.46% 0.207 309.6)
XYZxyz(27.9177, 16.5869, 62.6912)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D49D2 #7ED249
analogous
#5849D2 #9D49D2 #D249C3
triadic
#9D49D2 #D29D49 #49D29D
tetradic
#9D49D2 #D25849 #7ED249 #49C3D2
square
#9D49D2 #D25849 #7ED249 #49C3D2
split-complementary
#9D49D2 #C3D249 #49D258
monochromatic
#5B2081 #7E2CB2 #9D49D2 #B77ADE #D2ABEA

Accessibility & contrast

On white

4.86
#9D49D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#9D49D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D49D2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D49D2#FFFFFF#000000##FFFFFF
##9D49D21.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#3472CF
Tritanopia (blue-blind)
#966587
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9d49d2;
/* rgb */ color: rgb(157, 73, 210);
/* oklch */ color: oklch(57.5% 0.207 309.6);
Tailwind
colors: {
  custom: {
    50: '#be81e0',
    500: '#9d49d2',
    950: '#000000',
  },
}
SCSS
$custom: #9d49d2;
$custom-light: #be81e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d49d2",
  "rgb": {
    "r": 157,
    "g": 73,
    "b": 210
  },
  "hsl": {
    "h": 276.788,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57457,
    "c": 0.207,
    "h": 309.6
  },
  "luminance": 0.16586
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D49D2

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

Preview Lab → · Contrast checker → · Palette generator →

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