#9666EC#9666EC

#9666EC is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.4% C 0.194 H 296.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9666EC
RGBrgb(150, 102, 236)
HSLhsl(261, 78%, 66%)
HSVhsv(261, 57%, 93%)
CMYKcmyk(36.4%, 56.8%, 0%, 7.5%)
CIE-LABlab(54.07, 47.48, -61.06)
CIE-LCHlch(54.07, 77.35, 307.87°)
OKLaboklab(62.41% 0.088 -0.1733)
OKLCHoklch(62.41% 0.194 296.9)
XYZxyz(32.4655, 22.0424, 81.8848)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9666EC #BCEC66
analogous
#6679EC #9666EC #D966EC
triadic
#9666EC #EC9666 #66EC96
tetradic
#9666EC #EC6679 #BCEC66 #66ECD9
square
#9666EC #EC6679 #BCEC66 #66ECD9
split-complementary
#9666EC #ECD966 #79EC66
monochromatic
#5418C0 #7130E5 #9666EC #BB9CF3 #E1D3FA

Accessibility & contrast

On white

3.88
#9666EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#9666EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9666EC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9666EC#FFFFFF#000000##000000
##9666EC1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2082F0
Deuteranopia (green-blind)
#3580E9
Tritanopia (blue-blind)
#82829F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9666ec;
/* rgb */ color: rgb(150, 102, 236);
/* oklch */ color: oklch(62.4% 0.194 296.9);
Tailwind
colors: {
  custom: {
    50: '#ba93f3',
    500: '#9666ec',
    950: '#000000',
  },
}
SCSS
$custom: #9666ec;
$custom-light: #ba93f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9666ec",
  "rgb": {
    "r": 150,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 261.493,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62409,
    "c": 0.19437,
    "h": 296.9
  },
  "luminance": 0.22043
}

Semantic roles & 50–950 ramp

primary
#9666EC
secondary
#DDEDC1
accent
#DA0B90
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9666EC

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

Preview Lab → · Contrast checker → · Palette generator →

#9666EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva