#9946CC#9946CC

#9946CC is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.2% C 0.204 H 309.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9946CC
RGBrgb(153, 70, 204)
HSLhsl(277, 57%, 54%)
HSVhsv(277, 66%, 80%)
CMYKcmyk(25%, 65.7%, 0%, 20%)
CIE-LABlab(46.33, 56.85, -55.34)
CIE-LCHlch(46.33, 79.33, 315.77°)
OKLaboklab(56.21% 0.1305 -0.1563)
OKLCHoklch(56.21% 0.204 309.9)
XYZxyz(26.2240, 15.5128, 58.7278)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9946CC #79CC46
analogous
#5646CC #9946CC #CC46BC
triadic
#9946CC #CC9946 #46CC99
tetradic
#9946CC #CC5646 #79CC46 #46BCCC
square
#9946CC #CC5646 #79CC46 #46BCCC
split-complementary
#9946CC #BCCC46 #46CC56
monochromatic
#562177 #792EA7 #9946CC #B376D9 #CEA6E6

Accessibility & contrast

On white

5.12
#9946CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9946CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9946CC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9946CC#FFFFFF#000000##FFFFFF
##9946CC1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#326FC9
Tritanopia (blue-blind)
#926283
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9946cc;
/* rgb */ color: rgb(153, 70, 204);
/* oklch */ color: oklch(56.2% 0.204 309.9);
Tailwind
colors: {
  custom: {
    50: '#bb7fdc',
    500: '#9946cc',
    950: '#000000',
  },
}
SCSS
$custom: #9946cc;
$custom-light: #bb7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9946cc",
  "rgb": {
    "r": 153,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 277.164,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56212,
    "c": 0.20363,
    "h": 309.9
  },
  "luminance": 0.15512
}

Semantic roles & 50–950 ramp

primary
#9946CC
secondary
#B0D49A
accent
#E04882
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9946CC

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

Preview Lab → · Contrast checker → · Palette generator →

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