#9966CF#9966CF

#9966CF is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.9% C 0.160 H 304.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9966CF
RGBrgb(153, 102, 207)
HSLhsl(269, 52%, 61%)
HSVhsv(269, 51%, 81%)
CMYKcmyk(26.1%, 50.7%, 0%, 18.8%)
CIE-LABlab(52.71, 41.02, -46.86)
CIE-LCHlch(52.71, 62.28, 311.20°)
OKLaboklab(60.93% 0.0905 -0.1316)
OKLCHoklch(60.93% 0.16 304.5)
XYZxyz(29.1483, 20.7802, 61.4948)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9966CF #9CCF66
analogous
#6667CF #9966CF #CE66CF
triadic
#9966CF #CF9966 #66CF99
tetradic
#9966CF #CF6667 #9CCF66 #66CFCE
square
#9966CF #CF6667 #9CCF66 #66CFCE
split-complementary
#9966CF #CFCE66 #67CF66
monochromatic
#5C2D8E #7A3BBD #9966CF #B895DE #D7C3EC

Accessibility & contrast

On white

4.07
#9966CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#9966CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9966CF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9966CF#FFFFFF#000000##000000
##9966CF1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#467CD3
Deuteranopia (green-blind)
#547ECC
Tritanopia (blue-blind)
#907991
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9966cf;
/* rgb */ color: rgb(153, 102, 207);
/* oklch */ color: oklch(60.9% 0.160 304.5);
Tailwind
colors: {
  custom: {
    50: '#ba93de',
    500: '#9966cf',
    950: '#000000',
  },
}
SCSS
$custom: #9966cf;
$custom-light: #ba93de;
$custom-dark: #000000;
JSON
{
  "hex": "#9966cf",
  "rgb": {
    "r": 153,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 269.143,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60933,
    "c": 0.15972,
    "h": 304.5
  },
  "luminance": 0.2078
}

Semantic roles & 50–950 ramp

primary
#9966CF
secondary
#C9DCB4
accent
#C02675
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9966CF

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

Preview Lab → · Contrast checker → · Palette generator →

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