#9949D9#9949D9

#9949D9 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.5% C 0.213 H 306.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9949D9
RGBrgb(153, 73, 217)
HSLhsl(273, 65%, 57%)
HSVhsv(273, 66%, 85%)
CMYKcmyk(29.5%, 66.4%, 0%, 14.9%)
CIE-LABlab(47.68, 58.35, -60.61)
CIE-LCHlch(47.68, 84.13, 313.92°)
OKLaboklab(57.46% 0.1261 -0.1718)
OKLCHoklch(57.46% 0.213 306.3)
XYZxyz(28.0411, 16.5474, 67.3489)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9949D9 #89D949
analogous
#5149D9 #9949D9 #D949D1
triadic
#9949D9 #D99949 #49D999
tetradic
#9949D9 #D95149 #89D949 #49D1D9
square
#9949D9 #D95149 #89D949 #49D1D9
split-complementary
#9949D9 #D1D949 #49D951
monochromatic
#5A1D8B #7B28BD #9949D9 #B57CE4 #D2AEEE

Accessibility & contrast

On white

4.87
#9949D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9949D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9949D9
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9949D9#FFFFFF#000000##FFFFFF
##9949D91.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#2272D6
Tritanopia (blue-blind)
#8E688B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9949d9;
/* rgb */ color: rgb(153, 73, 217);
/* oklch */ color: oklch(57.5% 0.213 306.3);
Tailwind
colors: {
  custom: {
    50: '#bc81e6',
    500: '#9949d9',
    950: '#000000',
  },
}
SCSS
$custom: #9949d9;
$custom-light: #bc81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9949d9",
  "rgb": {
    "r": 153,
    "g": 73,
    "b": 217
  },
  "hsl": {
    "h": 273.333,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57457,
    "c": 0.21309,
    "h": 306.3
  },
  "luminance": 0.16547
}

Semantic roles & 50–950 ramp

primary
#9949D9
secondary
#BCDCA2
accent
#E83F8B
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9949D9

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

Preview Lab → · Contrast checker → · Palette generator →

#9949D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva