#9666CA#9666CA

#9666CA is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.3% C 0.153 H 304.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9666CA
RGBrgb(150, 102, 202)
HSLhsl(269, 49%, 60%)
HSVhsv(269, 50%, 79%)
CMYKcmyk(25.7%, 49.5%, 0%, 20.8%)
CIE-LABlab(52.12, 39.02, -44.96)
CIE-LCHlch(52.12, 59.53, 310.96°)
OKLaboklab(60.34% 0.0863 -0.1261)
OKLCHoklch(60.34% 0.153 304.4)
XYZxyz(27.9874, 20.2512, 58.3001)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9666CA #9ACA66
analogous
#6668CA #9666CA #C866CA
triadic
#9666CA #CA9666 #66CA96
tetradic
#9666CA #CA6668 #9ACA66 #66CAC8
square
#9666CA #CA6668 #9ACA66 #66CAC8
split-complementary
#9666CA #CAC866 #68CA66
monochromatic
#592F87 #773EB4 #9666CA #B593DA #D4C1E9

Accessibility & contrast

On white

4.16
#9666CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#9666CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9666CA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9666CA#FFFFFF#000000##000000
##9666CA1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9666ca;
/* rgb */ color: rgb(150, 102, 202);
/* oklch */ color: oklch(60.3% 0.153 304.4);
Tailwind
colors: {
  custom: {
    50: '#b793da',
    500: '#9666ca',
    950: '#000000',
  },
}
SCSS
$custom: #9666ca;
$custom-light: #b793da;
$custom-dark: #000000;
JSON
{
  "hex": "#9666ca",
  "rgb": {
    "r": 150,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 268.8,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60336,
    "c": 0.15283,
    "h": 304.4
  },
  "luminance": 0.20251
}

Semantic roles & 50–950 ramp

primary
#9666CA
secondary
#C7D9B2
accent
#D85097
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9666CA

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

Preview Lab → · Contrast checker → · Palette generator →

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