#9949CC#9949CC

#9949CC is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.6% C 0.200 H 309.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9949CC
RGBrgb(153, 73, 204)
HSLhsl(277, 56%, 54%)
HSVhsv(277, 64%, 80%)
CMYKcmyk(25%, 64.2%, 0%, 20%)
CIE-LABlab(46.84, 55.44, -54.52)
CIE-LCHlch(46.84, 77.75, 315.48°)
OKLaboklab(56.58% 0.1271 -0.1539)
OKLCHoklch(56.58% 0.2 309.6)
XYZxyz(26.4164, 15.8975, 58.7920)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9949CC #7CCC49
analogous
#5849CC #9949CC #CC49BE
triadic
#9949CC #CC9949 #49CC99
tetradic
#9949CC #CC5849 #7CCC49 #49BECC
square
#9949CC #CC5849 #7CCC49 #49BECC
split-complementary
#9949CC #BECC49 #49CC58
monochromatic
#572279 #792FA9 #9949CC #B479D9 #CFA9E7

Accessibility & contrast

On white

5.02
#9949CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9949CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9949CC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9949CC#FFFFFF#000000##FFFFFF
##9949CC1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#3670C9
Tritanopia (blue-blind)
#926484
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9949cc;
/* rgb */ color: rgb(153, 73, 204);
/* oklch */ color: oklch(56.6% 0.200 309.6);
Tailwind
colors: {
  custom: {
    50: '#bb81dc',
    500: '#9949cc',
    950: '#000000',
  },
}
SCSS
$custom: #9949cc;
$custom-light: #bb81dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9949cc",
  "rgb": {
    "r": 153,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 276.641,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5658,
    "c": 0.19961,
    "h": 309.6
  },
  "luminance": 0.15897
}

Semantic roles & 50–950 ramp

primary
#9949CC
secondary
#B2D49D
accent
#E04883
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9949CC

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

Preview Lab → · Contrast checker → · Palette generator →

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