#9666DC#9666DC

#9666DC is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.4% C 0.175 H 300.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9666DC
RGBrgb(150, 102, 220)
HSLhsl(264, 63%, 63%)
HSVhsv(264, 54%, 86%)
CMYKcmyk(31.8%, 53.6%, 0%, 13.7%)
CIE-LABlab(53.12, 43.43, -53.60)
CIE-LCHlch(53.12, 68.99, 309.02°)
OKLaboklab(61.4% 0.0876 -0.1514)
OKLCHoklch(61.4% 0.175 300.1)
XYZxyz(30.2442, 21.1539, 70.1860)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9666DC #ACDC66
analogous
#6671DC #9666DC #D166DC
triadic
#9666DC #DC9666 #66DC96
tetradic
#9666DC #DC6671 #ACDC66 #66DCD1
square
#9666DC #DC6671 #ACDC66 #66DCD1
split-complementary
#9666DC #DCD166 #71DC66
monochromatic
#5825A2 #7434D1 #9666DC #B898E7 #DACAF3

Accessibility & contrast

On white

4.01
#9666DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#9666DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9666DC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9666DC#FFFFFF#000000##000000
##9666DC1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#387EE0
Deuteranopia (green-blind)
#477ED9
Tritanopia (blue-blind)
#887D97
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9666dc;
/* rgb */ color: rgb(150, 102, 220);
/* oklch */ color: oklch(61.4% 0.175 300.1);
Tailwind
colors: {
  custom: {
    50: '#b893e7',
    500: '#9666dc',
    950: '#000000',
  },
}
SCSS
$custom: #9666dc;
$custom-light: #b893e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9666dc",
  "rgb": {
    "r": 150,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 264.407,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61399,
    "c": 0.17494,
    "h": 300.1
  },
  "luminance": 0.21154
}

Semantic roles & 50–950 ramp

primary
#9666DC
secondary
#D3E4BA
accent
#CB1B83
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9666DC

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

Preview Lab → · Contrast checker → · Palette generator →

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