#9666EB#9666EB

#9666EB is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.3% C 0.193 H 297.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9666EB
RGBrgb(150, 102, 235)
HSLhsl(262, 77%, 66%)
HSVhsv(262, 57%, 92%)
CMYKcmyk(36.2%, 56.6%, 0%, 7.8%)
CIE-LABlab(54.01, 47.22, -60.60)
CIE-LCHlch(54.01, 76.83, 307.93°)
OKLaboklab(62.34% 0.088 -0.172)
OKLCHoklch(62.34% 0.193 297.1)
XYZxyz(32.3207, 21.9844, 81.1217)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9666EB #BBEB66
analogous
#6678EB #9666EB #D866EB
triadic
#9666EB #EB9666 #66EB96
tetradic
#9666EB #EB6678 #BBEB66 #66EBD8
square
#9666EB #EB6678 #BBEB66 #66EBD8
split-complementary
#9666EB #EBD866 #78EB66
monochromatic
#5419BE #7130E4 #9666EB #BB9CF2 #E0D2F9

Accessibility & contrast

On white

3.89
#9666EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#9666EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9666EB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9666EB#FFFFFF#000000##000000
##9666EB1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2282EF
Deuteranopia (green-blind)
#3680E8
Tritanopia (blue-blind)
#82829F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9666eb;
/* rgb */ color: rgb(150, 102, 235);
/* oklch */ color: oklch(62.3% 0.193 297.1);
Tailwind
colors: {
  custom: {
    50: '#b993f2',
    500: '#9666eb',
    950: '#000000',
  },
}
SCSS
$custom: #9666eb;
$custom-light: #b993f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9666eb",
  "rgb": {
    "r": 150,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 261.654,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62344,
    "c": 0.19317,
    "h": 297.1
  },
  "luminance": 0.21985
}

Semantic roles & 50–950 ramp

primary
#9666EB
secondary
#DCECC1
accent
#D90C8F
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9666EB

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

Preview Lab → · Contrast checker → · Palette generator →

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