#9E66EC#9E66EC

#9E66EC is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.2% C 0.195 H 300.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9E66EC
RGBrgb(158, 102, 236)
HSLhsl(265, 78%, 66%)
HSVhsv(265, 57%, 93%)
CMYKcmyk(33.1%, 56.8%, 0%, 7.5%)
CIE-LABlab(54.89, 49.32, -59.70)
CIE-LCHlch(54.89, 77.43, 309.56°)
OKLaboklab(63.2% 0.0981 -0.1691)
OKLCHoklch(63.2% 0.195 300.1)
XYZxyz(33.9886, 22.8277, 81.9562)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E66EC #B4EC66
analogous
#6671EC #9E66EC #E166EC
triadic
#9E66EC #EC9E66 #66EC9E
tetradic
#9E66EC #EC6671 #B4EC66 #66ECE1
square
#9E66EC #EC6671 #B4EC66 #66ECE1
split-complementary
#9E66EC #ECE166 #71EC66
monochromatic
#5E18C0 #7B30E5 #9E66EC #C19CF3 #E3D3FA

Accessibility & contrast

On white

3.77
#9E66EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#9E66EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E66EC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E66EC#FFFFFF#000000##000000
##9E66EC1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2783F0
Deuteranopia (green-blind)
#3E82E9
Tritanopia (blue-blind)
#8E819F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9e66ec;
/* rgb */ color: rgb(158, 102, 236);
/* oklch */ color: oklch(63.2% 0.195 300.1);
Tailwind
colors: {
  custom: {
    50: '#bf94f3',
    500: '#9e66ec',
    950: '#000000',
  },
}
SCSS
$custom: #9e66ec;
$custom-light: #bf94f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e66ec",
  "rgb": {
    "r": 158,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 265.075,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63202,
    "c": 0.19548,
    "h": 300.1
  },
  "luminance": 0.22828
}

Semantic roles & 50–950 ramp

primary
#9E66EC
secondary
#DAEDC1
accent
#DA0B84
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #9E66EC

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

Preview Lab → · Contrast checker → · Palette generator →

#9E66EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva