#9D49E5#9D49E5

#9D49E5 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.8% C 0.226 H 305.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9D49E5
RGBrgb(157, 73, 229)
HSLhsl(272, 75%, 59%)
HSVhsv(272, 68%, 90%)
CMYKcmyk(31.4%, 68.1%, 0%, 10.2%)
CIE-LABlab(49.00, 61.89, -65.28)
CIE-LCHlch(49.00, 89.95, 313.47°)
OKLaboklab(58.76% 0.13 -0.1854)
OKLCHoklch(58.76% 0.226 305)
XYZxyz(30.4269, 17.5905, 75.9059)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D49E5 #91E549
analogous
#4F49E5 #9D49E5 #E549DF
triadic
#9D49E5 #E59D49 #49E59D
tetradic
#9D49E5 #E54F49 #91E549 #49DFE5
square
#9D49E5 #E54F49 #91E549 #49DFE5
split-complementary
#9D49E5 #DFE549 #49E54F
monochromatic
#5F169D #7F1ED3 #9D49E5 #BA7FED #D7B4F4

Accessibility & contrast

On white

4.65
#9D49E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#9D49E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9D49E5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D49E5#FFFFFF#000000##FFFFFF
##9D49E51.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EA
Deuteranopia (green-blind)
#0875E2
Tritanopia (blue-blind)
#906C92
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9d49e5;
/* rgb */ color: rgb(157, 73, 229);
/* oklch */ color: oklch(58.8% 0.226 305.0);
Tailwind
colors: {
  custom: {
    50: '#bf82ee',
    500: '#9d49e5',
    950: '#000000',
  },
}
SCSS
$custom: #9d49e5;
$custom-light: #bf82ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9d49e5",
  "rgb": {
    "r": 157,
    "g": 73,
    "b": 229
  },
  "hsl": {
    "h": 272.308,
    "s": 75,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58761,
    "c": 0.2264,
    "h": 305
  },
  "luminance": 0.1759
}

Semantic roles & 50–950 ramp

primary
#9D49E5
secondary
#C3E3A6
accent
#F2368D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D49E5

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

Preview Lab → · Contrast checker → · Palette generator →

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