#9D49CE#9D49CE

#9D49CE is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.2% C 0.203 H 310.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9D49CE
RGBrgb(157, 73, 206)
HSLhsl(278, 58%, 55%)
HSVhsv(278, 65%, 81%)
CMYKcmyk(23.8%, 64.6%, 0%, 19.2%)
CIE-LABlab(47.48, 56.77, -54.61)
CIE-LCHlch(47.48, 78.77, 316.11°)
OKLaboklab(57.19% 0.1321 -0.154)
OKLCHoklch(57.19% 0.203 310.6)
XYZxyz(27.4256, 16.3900, 60.0994)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D49CE #7ACE49
analogous
#5B49CE #9D49CE #CE49BC
triadic
#9D49CE #CE9D49 #49CE9D
tetradic
#9D49CE #CE5B49 #7ACE49 #49BCCE
square
#9D49CE #CE5B49 #7ACE49 #49BCCE
split-complementary
#9D49CE #BCCE49 #49CE5B
monochromatic
#5A217B #7D2EAC #9D49CE #B779DB #D1A9E8

Accessibility & contrast

On white

4.91
#9D49CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#9D49CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D49CE
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D49CE#FFFFFF#000000##FFFFFF
##9D49CE1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#3972CB
Tritanopia (blue-blind)
#976485
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9d49ce;
/* rgb */ color: rgb(157, 73, 206);
/* oklch */ color: oklch(57.2% 0.203 310.6);
Tailwind
colors: {
  custom: {
    50: '#be81de',
    500: '#9d49ce',
    950: '#000000',
  },
}
SCSS
$custom: #9d49ce;
$custom-light: #be81de;
$custom-dark: #000000;
JSON
{
  "hex": "#9d49ce",
  "rgb": {
    "r": 157,
    "g": 73,
    "b": 206
  },
  "hsl": {
    "h": 277.895,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57194,
    "c": 0.20293,
    "h": 310.6
  },
  "luminance": 0.16389
}

Semantic roles & 50–950 ramp

primary
#9D49CE
secondary
#B2D59D
accent
#E14780
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D49CE

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

Preview Lab → · Contrast checker → · Palette generator →

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