#9D49DC#9D49DC

#9D49DC is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.1% C 0.217 H 307.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9D49DC
RGBrgb(157, 73, 220)
HSLhsl(274, 68%, 57%)
HSVhsv(274, 67%, 86%)
CMYKcmyk(28.6%, 66.8%, 0%, 13.7%)
CIE-LABlab(48.39, 59.86, -61.16)
CIE-LCHlch(48.39, 85.58, 314.39°)
OKLaboklab(58.13% 0.131 -0.1733)
OKLCHoklch(58.13% 0.217 307.1)
XYZxyz(29.2027, 17.1008, 69.4586)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D49DC #88DC49
analogous
#5449DC #9D49DC #DC49D1
triadic
#9D49DC #DC9D49 #49DC9D
tetradic
#9D49DC #DC5449 #88DC49 #49D1DC
square
#9D49DC #DC5449 #88DC49 #49D1DC
split-complementary
#9D49DC #D1DC49 #49DC54
monochromatic
#5E1C8F #7F25C2 #9D49DC #B97CE6 #D4B0F0

Accessibility & contrast

On white

4.75
#9D49DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9D49DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D49DC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D49DC#FFFFFF#000000##FFFFFF
##9D49DC1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#2474D9
Tritanopia (blue-blind)
#93698D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d49dc;
/* rgb */ color: rgb(157, 73, 220);
/* oklch */ color: oklch(58.1% 0.217 307.1);
Tailwind
colors: {
  custom: {
    50: '#bf81e8',
    500: '#9d49dc',
    950: '#000000',
  },
}
SCSS
$custom: #9d49dc;
$custom-light: #bf81e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d49dc",
  "rgb": {
    "r": 157,
    "g": 73,
    "b": 220
  },
  "hsl": {
    "h": 274.286,
    "s": 67.742,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58132,
    "c": 0.21721,
    "h": 307.1
  },
  "luminance": 0.171
}

Semantic roles & 50–950 ramp

primary
#9D49DC
secondary
#BCDEA3
accent
#EB3D88
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D49DC

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

Preview Lab → · Contrast checker → · Palette generator →

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