#9949C8#9949C8

#9949C8 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.3% C 0.195 H 310.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9949C8
RGBrgb(153, 73, 200)
HSLhsl(278, 54%, 54%)
HSVhsv(278, 64%, 78%)
CMYKcmyk(23.5%, 63.5%, 0%, 21.6%)
CIE-LABlab(46.59, 54.56, -52.61)
CIE-LCHlch(46.59, 75.79, 316.04°)
OKLaboklab(56.32% 0.1273 -0.1483)
OKLCHoklch(56.32% 0.195 310.6)
XYZxyz(25.9428, 15.7081, 56.2977)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9949C8 #78C849
analogous
#5949C8 #9949C8 #C849B7
triadic
#9949C8 #C89949 #49C899
tetradic
#9949C8 #C85949 #78C849 #49B7C8
square
#9949C8 #C85949 #78C849 #49B7C8
split-complementary
#9949C8 #B7C849 #49C859
monochromatic
#562374 #7931A3 #9949C8 #B378D6 #CEA7E4

Accessibility & contrast

On white

5.07
#9949C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9949C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9949C8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9949C8#FFFFFF#000000##FFFFFF
##9949C81.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016BCC
Deuteranopia (green-blind)
#3A70C5
Tritanopia (blue-blind)
#936282
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9949c8;
/* rgb */ color: rgb(153, 73, 200);
/* oklch */ color: oklch(56.3% 0.195 310.6);
Tailwind
colors: {
  custom: {
    50: '#bb81d9',
    500: '#9949c8',
    950: '#000000',
  },
}
SCSS
$custom: #9949c8;
$custom-light: #bb81d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9949c8",
  "rgb": {
    "r": 153,
    "g": 73,
    "b": 200
  },
  "hsl": {
    "h": 277.795,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56319,
    "c": 0.19546,
    "h": 310.6
  },
  "luminance": 0.15708
}

Semantic roles & 50–950 ramp

primary
#9949C8
secondary
#AFD29B
accent
#DD4B81
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9949C8

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

Preview Lab → · Contrast checker → · Palette generator →

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