#9966F5#9966F5

#9966F5 is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.3% C 0.205 H 296.5°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9966F5
RGBrgb(153, 102, 245)
HSLhsl(261, 88%, 68%)
HSVhsv(261, 58%, 96%)
CMYKcmyk(37.6%, 58.4%, 0%, 3.9%)
CIE-LABlab(54.94, 50.45, -64.68)
CIE-LCHlch(54.94, 82.03, 307.95°)
OKLaboklab(63.29% 0.0917 -0.1838)
OKLCHoklch(63.29% 0.205 296.5)
XYZxyz(34.3654, 22.8670, 88.9717)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9966F5 #C2F566
analogous
#667AF5 #9966F5 #E166F5
triadic
#9966F5 #F59966 #66F599
tetradic
#9966F5 #F5667A #C2F566 #66F5E1
square
#9966F5 #F5667A #C2F566 #66F5E1
split-complementary
#9966F5 #F5E166 #7AF566
monochromatic
#540ED3 #732DF1 #9966F5 #BF9FF9 #E6D9FD

Accessibility & contrast

On white

3.77
#9966F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#9966F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9966F5
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9966F5#FFFFFF#000000##000000
##9966F51.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0484FA
Deuteranopia (green-blind)
#2A82F2
Tritanopia (blue-blind)
#8385A4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9966f5;
/* rgb */ color: rgb(153, 102, 245);
/* oklch */ color: oklch(63.3% 0.205 296.5);
Tailwind
colors: {
  custom: {
    50: '#bc94f9',
    500: '#9966f5',
    950: '#000000',
  },
}
SCSS
$custom: #9966f5;
$custom-light: #bc94f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9966f5",
  "rgb": {
    "r": 153,
    "g": 102,
    "b": 245
  },
  "hsl": {
    "h": 261.399,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.63291,
    "c": 0.20544,
    "h": 296.5
  },
  "luminance": 0.22868
}

Semantic roles & 50–950 ramp

primary
#9966F5
secondary
#E2F1C6
accent
#E40193
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9966F5

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

Preview Lab → · Contrast checker → · Palette generator →

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