#9666CB#9666CB

#9666CB is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.4% C 0.154 H 304.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9666CB
RGBrgb(150, 102, 203)
HSLhsl(269, 49%, 60%)
HSVhsv(269, 50%, 80%)
CMYKcmyk(26.1%, 49.8%, 0%, 20.4%)
CIE-LABlab(52.17, 39.26, -45.44)
CIE-LCHlch(52.17, 60.06, 310.83°)
OKLaboklab(60.39% 0.0864 -0.1275)
OKLCHoklch(60.39% 0.154 304.1)
XYZxyz(28.1062, 20.2987, 58.9257)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9666CB #9BCB66
analogous
#6669CB #9666CB #C966CB
triadic
#9666CB #CB9666 #66CB96
tetradic
#9666CB #CB6669 #9BCB66 #66CBC9
square
#9666CB #CB6669 #9BCB66 #66CBC9
split-complementary
#9666CB #CBC966 #69CB66
monochromatic
#592E88 #773EB6 #9666CB #B594DB #D5C1EA

Accessibility & contrast

On white

4.15
#9666CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#9666CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9666CB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9666CB#FFFFFF#000000##000000
##9666CB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#487BCF
Deuteranopia (green-blind)
#557CC8
Tritanopia (blue-blind)
#8D788F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9666cb;
/* rgb */ color: rgb(150, 102, 203);
/* oklch */ color: oklch(60.4% 0.154 304.1);
Tailwind
colors: {
  custom: {
    50: '#b793db',
    500: '#9666cb',
    950: '#000000',
  },
}
SCSS
$custom: #9666cb;
$custom-light: #b793db;
$custom-dark: #000000;
JSON
{
  "hex": "#9666cb",
  "rgb": {
    "r": 150,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 268.515,
    "s": 49.268,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60393,
    "c": 0.15406,
    "h": 304.1
  },
  "luminance": 0.20299
}

Semantic roles & 50–950 ramp

primary
#9666CB
secondary
#C7DAB3
accent
#D94F97
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9666CB

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

Preview Lab → · Contrast checker → · Palette generator →

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