#9966C8#9966C8

#9966C8 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.5% C 0.151 H 306.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9966C8
RGBrgb(153, 102, 200)
HSLhsl(271, 47%, 59%)
HSVhsv(271, 49%, 78%)
CMYKcmyk(23.5%, 49%, 0%, 21.6%)
CIE-LABlab(52.34, 39.37, -43.45)
CIE-LCHlch(52.34, 58.63, 312.18°)
OKLaboklab(60.54% 0.0898 -0.1216)
OKLCHoklch(60.54% 0.151 306.4)
XYZxyz(28.3114, 20.4454, 57.0873)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9966C8 #95C866
analogous
#6866C8 #9966C8 #C866C6
triadic
#9966C8 #C89966 #66C899
tetradic
#9966C8 #C86866 #95C866 #66C6C8
square
#9966C8 #C86866 #95C866 #66C6C8
split-complementary
#9966C8 #C6C866 #66C868
monochromatic
#5C2F84 #7B40B1 #9966C8 #B793D8 #D5C0E8

Accessibility & contrast

On white

4.13
#9966C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#9966C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9966C8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9966C8#FFFFFF#000000##000000
##9966C81.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7BCB
Deuteranopia (green-blind)
#597DC6
Tritanopia (blue-blind)
#92778E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9966c8;
/* rgb */ color: rgb(153, 102, 200);
/* oklch */ color: oklch(60.5% 0.151 306.4);
Tailwind
colors: {
  custom: {
    50: '#b993d9',
    500: '#9966c8',
    950: '#000000',
  },
}
SCSS
$custom: #9966c8;
$custom-light: #b993d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9966c8",
  "rgb": {
    "r": 153,
    "g": 102,
    "b": 200
  },
  "hsl": {
    "h": 271.224,
    "s": 47.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60537,
    "c": 0.15122,
    "h": 306.4
  },
  "luminance": 0.20445
}

Semantic roles & 50–950 ramp

primary
#9966C8
secondary
#C4D8B2
accent
#D75191
background
#FBF9FD
surface
#F6F1FA
border
#D0CBD3
text
#120D15
muted
#817E83

Preview Lab

Preview with #9966C8

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

Preview Lab → · Contrast checker → · Palette generator →

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