#9666EF#9666EF

#9666EF is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.6% C 0.198 H 296.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9666EF
RGBrgb(150, 102, 239)
HSLhsl(261, 81%, 67%)
HSVhsv(261, 57%, 94%)
CMYKcmyk(37.2%, 57.3%, 0%, 6.3%)
CIE-LABlab(54.26, 48.25, -62.44)
CIE-LCHlch(54.26, 78.91, 307.69°)
OKLaboklab(62.61% 0.088 -0.1774)
OKLCHoklch(62.61% 0.198 296.4)
XYZxyz(32.9050, 22.2182, 84.1995)
Luminance0.2222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9666EF #BFEF66
analogous
#667BEF #9666EF #DB66EF
triadic
#9666EF #EF9666 #66EF96
tetradic
#9666EF #EF667B #BFEF66 #66EFDB
square
#9666EF #EF667B #BFEF66 #66EFDB
split-complementary
#9666EF #EFDB66 #7BEF66
monochromatic
#5315C6 #702FE9 #9666EF #BC9DF5 #E2D5FB

Accessibility & contrast

On white

3.86
#9666EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#9666EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9666EF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9666EF#FFFFFF#000000##000000
##9666EF1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1982F4
Deuteranopia (green-blind)
#3080EC
Tritanopia (blue-blind)
#8183A1
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9666ef;
/* rgb */ color: rgb(150, 102, 239);
/* oklch */ color: oklch(62.6% 0.198 296.4);
Tailwind
colors: {
  custom: {
    50: '#ba93f5',
    500: '#9666ef',
    950: '#000000',
  },
}
SCSS
$custom: #9666ef;
$custom-light: #ba93f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9666ef",
  "rgb": {
    "r": 150,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 261.022,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62605,
    "c": 0.19799,
    "h": 296.4
  },
  "luminance": 0.22219
}

Semantic roles & 50–950 ramp

primary
#9666EF
secondary
#DFEEC2
accent
#DD0893
background
#FBF9FF
surface
#F7F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9666EF

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

Preview Lab → · Contrast checker → · Palette generator →

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