#9966EF#9966EF

#9966EF is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.9% C 0.198 H 297.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9966EF
RGBrgb(153, 102, 239)
HSLhsl(262, 81%, 67%)
HSVhsv(262, 57%, 94%)
CMYKcmyk(36%, 57.3%, 0%, 6.3%)
CIE-LABlab(54.56, 48.92, -61.94)
CIE-LCHlch(54.56, 78.93, 308.30°)
OKLaboklab(62.9% 0.0918 -0.1758)
OKLCHoklch(62.9% 0.198 297.6)
XYZxyz(33.4643, 22.5066, 84.2257)
Luminance0.2251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9966EF #BCEF66
analogous
#6678EF #9966EF #DE66EF
triadic
#9966EF #EF9966 #66EF99
tetradic
#9966EF #EF6678 #BCEF66 #66EFDE
square
#9966EF #EF6678 #BCEF66 #66EFDE
split-complementary
#9966EF #EFDE66 #78EF66
monochromatic
#5715C6 #742FE9 #9966EF #BE9DF5 #E3D5FB

Accessibility & contrast

On white

3.82
#9966EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#9966EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9966EF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9966EF#FFFFFF#000000##000000
##9966EF1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C83F3
Deuteranopia (green-blind)
#3481EC
Tritanopia (blue-blind)
#8583A1
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9966ef;
/* rgb */ color: rgb(153, 102, 239);
/* oklch */ color: oklch(62.9% 0.198 297.6);
Tailwind
colors: {
  custom: {
    50: '#bc93f5',
    500: '#9966ef',
    950: '#000000',
  },
}
SCSS
$custom: #9966ef;
$custom-light: #bc93f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9966ef",
  "rgb": {
    "r": 153,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 262.336,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62897,
    "c": 0.19832,
    "h": 297.6
  },
  "luminance": 0.22507
}

Semantic roles & 50–950 ramp

primary
#9966EF
secondary
#DEEEC2
accent
#DD088E
background
#FCF9FF
surface
#F8F1FE
border
#D1CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9966EF

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

Preview Lab → · Contrast checker → · Palette generator →

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