#9D49E1#9D49E1

#9D49E1 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.5% C 0.222 H 305.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9D49E1
RGBrgb(157, 73, 225)
HSLhsl(273, 72%, 58%)
HSVhsv(273, 68%, 88%)
CMYKcmyk(30.2%, 67.6%, 0%, 11.8%)
CIE-LABlab(48.72, 60.98, -63.45)
CIE-LCHlch(48.72, 88.01, 313.86°)
OKLaboklab(58.48% 0.1304 -0.18)
OKLCHoklch(58.48% 0.222 305.9)
XYZxyz(29.8748, 17.3697, 72.9984)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D49E1 #8DE149
analogous
#5149E1 #9D49E1 #E149D9
triadic
#9D49E1 #E19D49 #49E19D
tetradic
#9D49E1 #E15149 #8DE149 #49D9E1
square
#9D49E1 #E15149 #8DE149 #49D9E1
split-complementary
#9D49E1 #D9E149 #49E151
monochromatic
#5E1997 #7F22CB #9D49E1 #B97EEA #D6B2F2

Accessibility & contrast

On white

4.69
#9D49E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9D49E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D49E1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D49E1#FFFFFF#000000##FFFFFF
##9D49E11.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#1974DE
Tritanopia (blue-blind)
#916B8F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9d49e1;
/* rgb */ color: rgb(157, 73, 225);
/* oklch */ color: oklch(58.5% 0.222 305.9);
Tailwind
colors: {
  custom: {
    50: '#bf82eb',
    500: '#9d49e1',
    950: '#000000',
  },
}
SCSS
$custom: #9d49e1;
$custom-light: #bf82eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d49e1",
  "rgb": {
    "r": 157,
    "g": 73,
    "b": 225
  },
  "hsl": {
    "h": 273.158,
    "s": 71.698,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58479,
    "c": 0.22232,
    "h": 305.9
  },
  "luminance": 0.17369
}

Semantic roles & 50–950 ramp

primary
#9D49E1
secondary
#C0E1A5
accent
#EE398A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D49E1

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

Preview Lab → · Contrast checker → · Palette generator →

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