#9666CC#9666CC

#9666CC is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.5% C 0.155 H 303.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9666CC
RGBrgb(150, 102, 204)
HSLhsl(268, 50%, 60%)
HSVhsv(268, 50%, 80%)
CMYKcmyk(26.5%, 50%, 0%, 20%)
CIE-LABlab(52.23, 39.50, -45.93)
CIE-LCHlch(52.23, 60.58, 310.70°)
OKLaboklab(60.45% 0.0865 -0.129)
OKLCHoklch(60.45% 0.155 303.8)
XYZxyz(28.2258, 20.3465, 59.5553)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9666CC #9CCC66
analogous
#6669CC #9666CC #C966CC
triadic
#9666CC #CC9666 #66CC96
tetradic
#9666CC #CC6669 #9CCC66 #66CCC9
square
#9666CC #CC6669 #9CCC66 #66CCC9
split-complementary
#9666CC #CCC966 #69CC66
monochromatic
#592E8A #773DB8 #9666CC #B594DB #D5C2EB

Accessibility & contrast

On white

4.14
#9666CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#9666CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9666CC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9666CC#FFFFFF#000000##000000
##9666CC1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#477BD0
Deuteranopia (green-blind)
#547DC9
Tritanopia (blue-blind)
#8D7890
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9666cc;
/* rgb */ color: rgb(150, 102, 204);
/* oklch */ color: oklch(60.5% 0.155 303.8);
Tailwind
colors: {
  custom: {
    50: '#b793dc',
    500: '#9666cc',
    950: '#000000',
  },
}
SCSS
$custom: #9666cc;
$custom-light: #b793dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9666cc",
  "rgb": {
    "r": 150,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 268.235,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.6045,
    "c": 0.15529,
    "h": 303.8
  },
  "luminance": 0.20346
}

Semantic roles & 50–950 ramp

primary
#9666CC
secondary
#C8DBB3
accent
#DA4E98
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9666CC

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

Preview Lab → · Contrast checker → · Palette generator →

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