#9966E5#9966E5

#9966E5 is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.3% C 0.186 H 299.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9966E5
RGBrgb(153, 102, 229)
HSLhsl(264, 71%, 65%)
HSVhsv(264, 55%, 90%)
CMYKcmyk(33.2%, 55.5%, 0%, 10.2%)
CIE-LABlab(53.95, 46.41, -57.31)
CIE-LCHlch(53.95, 73.74, 309.00°)
OKLaboklab(62.26% 0.0917 -0.1622)
OKLCHoklch(62.26% 0.186 299.5)
XYZxyz(32.0277, 21.9319, 76.6595)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9966E5 #B2E566
analogous
#6673E5 #9966E5 #D866E5
triadic
#9966E5 #E59966 #66E599
tetradic
#9966E5 #E56673 #B2E566 #66E5D8
square
#9966E5 #E56673 #B2E566 #66E5D8
split-complementary
#9966E5 #E5D866 #73E566
monochromatic
#5A1EB2 #7632DC #9966E5 #BC9AEE #DFCFF7

Accessibility & contrast

On white

3.90
#9966E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#9966E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9966E5
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9966E5#FFFFFF#000000##000000
##9966E51.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E81E9
Deuteranopia (green-blind)
#4180E2
Tritanopia (blue-blind)
#89809C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9966e5;
/* rgb */ color: rgb(153, 102, 229);
/* oklch */ color: oklch(62.3% 0.186 299.5);
Tailwind
colors: {
  custom: {
    50: '#bb93ee',
    500: '#9966e5',
    950: '#000000',
  },
}
SCSS
$custom: #9966e5;
$custom-light: #bb93ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9966e5",
  "rgb": {
    "r": 153,
    "g": 102,
    "b": 229
  },
  "hsl": {
    "h": 264.094,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.62257,
    "c": 0.18634,
    "h": 299.5
  },
  "luminance": 0.21932
}

Semantic roles & 50–950 ramp

primary
#9966E5
secondary
#D8E9BE
accent
#D31386
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9966E5

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

Preview Lab → · Contrast checker → · Palette generator →

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