#9666E2#9666E2

#9666E2 is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.8% C 0.182 H 298.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9666E2
RGBrgb(150, 102, 226)
HSLhsl(263, 68%, 64%)
HSVhsv(263, 55%, 89%)
CMYKcmyk(33.6%, 54.9%, 0%, 11.4%)
CIE-LABlab(53.47, 44.94, -56.42)
CIE-LCHlch(53.47, 72.13, 308.54°)
OKLaboklab(61.77% 0.0879 -0.1597)
OKLCHoklch(61.77% 0.182 298.8)
XYZxyz(31.0532, 21.4774, 74.4463)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9666E2 #B2E266
analogous
#6674E2 #9666E2 #D466E2
triadic
#9666E2 #E29666 #66E296
tetradic
#9666E2 #E26674 #B2E266 #66E2D4
square
#9666E2 #E26674 #B2E266 #66E2D4
split-complementary
#9666E2 #E2D466 #74E266
monochromatic
#5721AD #7333D8 #9666E2 #B999EC #DDCDF6

Accessibility & contrast

On white

3.97
#9666E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#9666E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9666E2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9666E2#FFFFFF#000000##000000
##9666E21.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3180E6
Deuteranopia (green-blind)
#417FDF
Tritanopia (blue-blind)
#867F9A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9666e2;
/* rgb */ color: rgb(150, 102, 226);
/* oklch */ color: oklch(61.8% 0.182 298.8);
Tailwind
colors: {
  custom: {
    50: '#b993ec',
    500: '#9666e2',
    950: '#000000',
  },
}
SCSS
$custom: #9666e2;
$custom-light: #b993ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9666e2",
  "rgb": {
    "r": 150,
    "g": 102,
    "b": 226
  },
  "hsl": {
    "h": 263.226,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61771,
    "c": 0.18226,
    "h": 298.8
  },
  "luminance": 0.21478
}

Semantic roles & 50–950 ramp

primary
#9666E2
secondary
#D7E7BC
accent
#D01588
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9666E2

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

Preview Lab → · Contrast checker → · Palette generator →

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