#9C66ED#9C66ED

#9C66ED is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.1% C 0.196 H 299.1°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9C66ED
RGBrgb(156, 102, 237)
HSLhsl(264, 79%, 66%)
HSVhsv(264, 57%, 93%)
CMYKcmyk(34.2%, 57%, 0%, 7.1%)
CIE-LABlab(54.75, 49.10, -60.51)
CIE-LCHlch(54.75, 77.92, 309.06°)
OKLaboklab(63.07% 0.0956 -0.1715)
OKLCHoklch(63.07% 0.196 299.1)
XYZxyz(33.7440, 22.6848, 82.7052)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C66ED #B7ED66
analogous
#6674ED #9C66ED #E066ED
triadic
#9C66ED #ED9C66 #66ED9C
tetradic
#9C66ED #ED6674 #B7ED66 #66EDE0
square
#9C66ED #ED6674 #B7ED66 #66EDE0
split-complementary
#9C66ED #EDE066 #74ED66
monochromatic
#5B17C2 #792FE7 #9C66ED #BF9DF3 #E3D4FA

Accessibility & contrast

On white

3.79
#9C66ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#9C66ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C66ED
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C66ED#FFFFFF#000000##000000
##9C66ED1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2383F1
Deuteranopia (green-blind)
#3B82EA
Tritanopia (blue-blind)
#8A82A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9c66ed;
/* rgb */ color: rgb(156, 102, 237);
/* oklch */ color: oklch(63.1% 0.196 299.1);
Tailwind
colors: {
  custom: {
    50: '#be94f3',
    500: '#9c66ed',
    950: '#000000',
  },
}
SCSS
$custom: #9c66ed;
$custom-light: #be94f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c66ed",
  "rgb": {
    "r": 156,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 264,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63065,
    "c": 0.19634,
    "h": 299.1
  },
  "luminance": 0.22685
}

Semantic roles & 50–950 ramp

primary
#9C66ED
secondary
#DCEDC2
accent
#DB0A88
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9C66ED

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

Preview Lab → · Contrast checker → · Palette generator →

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