#9C66DB#9C66DB

#9C66DB is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.9% C 0.175 H 303.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9C66DB
RGBrgb(156, 102, 219)
HSLhsl(268, 62%, 63%)
HSVhsv(268, 53%, 86%)
CMYKcmyk(28.8%, 53.4%, 0%, 14.1%)
CIE-LABlab(53.69, 44.68, -52.08)
CIE-LCHlch(53.69, 68.62, 310.63°)
OKLaboklab(61.95% 0.0951 -0.1468)
OKLCHoklch(61.95% 0.175 303)
XYZxyz(31.2450, 21.6852, 69.5437)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C66DB #A5DB66
analogous
#666ADB #9C66DB #D666DB
triadic
#9C66DB #DB9C66 #66DB9C
tetradic
#9C66DB #DB666A #A5DB66 #66DBD6
square
#9C66DB #DB666A #A5DB66 #66DBD6
split-complementary
#9C66DB #DBD666 #6ADB66
monochromatic
#5F26A1 #7C34CF #9C66DB #BC98E7 #DCC9F2

Accessibility & contrast

On white

3.93
#9C66DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#9C66DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C66DB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C66DB#FFFFFF#000000##000000
##9C66DB1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7FDF
Deuteranopia (green-blind)
#4D80D8
Tritanopia (blue-blind)
#907C97
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9c66db;
/* rgb */ color: rgb(156, 102, 219);
/* oklch */ color: oklch(61.9% 0.175 303.0);
Tailwind
colors: {
  custom: {
    50: '#bc93e7',
    500: '#9c66db',
    950: '#000000',
  },
}
SCSS
$custom: #9c66db;
$custom-light: #bc93e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c66db",
  "rgb": {
    "r": 156,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 267.692,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61949,
    "c": 0.17492,
    "h": 303
  },
  "luminance": 0.21685
}

Semantic roles & 50–950 ramp

primary
#9C66DB
secondary
#D0E3B9
accent
#CA1C79
background
#FBF9FE
surface
#F7F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9C66DB

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

Preview Lab → · Contrast checker → · Palette generator →

#9C66DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva