#9966EC#9966EC

#9966EC is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.7% C 0.195 H 298.1°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9966EC
RGBrgb(153, 102, 236)
HSLhsl(263, 78%, 66%)
HSVhsv(263, 57%, 93%)
CMYKcmyk(35.2%, 56.8%, 0%, 7.5%)
CIE-LABlab(54.38, 48.16, -60.56)
CIE-LCHlch(54.38, 77.38, 308.50°)
OKLaboklab(62.7% 0.0918 -0.1717)
OKLCHoklch(62.7% 0.195 298.1)
XYZxyz(33.0248, 22.3308, 81.9110)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9966EC #B9EC66
analogous
#6676EC #9966EC #DC66EC
triadic
#9966EC #EC9966 #66EC99
tetradic
#9966EC #EC6676 #B9EC66 #66ECDC
square
#9966EC #EC6676 #B9EC66 #66ECDC
split-complementary
#9966EC #ECDC66 #76EC66
monochromatic
#5818C0 #7530E5 #9966EC #BD9CF3 #E2D3FA

Accessibility & contrast

On white

3.84
#9966EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#9966EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9966EC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9966EC#FFFFFF#000000##000000
##9966EC1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2382F0
Deuteranopia (green-blind)
#3881E9
Tritanopia (blue-blind)
#86829F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9966ec;
/* rgb */ color: rgb(153, 102, 236);
/* oklch */ color: oklch(62.7% 0.195 298.1);
Tailwind
colors: {
  custom: {
    50: '#bb93f3',
    500: '#9966ec',
    950: '#000000',
  },
}
SCSS
$custom: #9966ec;
$custom-light: #bb93f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9966ec",
  "rgb": {
    "r": 153,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 262.836,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62703,
    "c": 0.19474,
    "h": 298.1
  },
  "luminance": 0.22331
}

Semantic roles & 50–950 ramp

primary
#9966EC
secondary
#DCEDC1
accent
#DA0B8B
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9966EC

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

Preview Lab → · Contrast checker → · Palette generator →

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