#9E66EA#9E66EA

#9E66EA is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.1% C 0.193 H 300.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9E66EA
RGBrgb(158, 102, 234)
HSLhsl(265, 76%, 66%)
HSVhsv(265, 56%, 92%)
CMYKcmyk(32.5%, 56.4%, 0%, 8.2%)
CIE-LABlab(54.77, 48.82, -58.77)
CIE-LCHlch(54.77, 76.41, 309.72°)
OKLaboklab(63.08% 0.0981 -0.1663)
OKLCHoklch(63.08% 0.193 300.5)
XYZxyz(33.6997, 22.7122, 80.4344)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E66EA #B2EA66
analogous
#6670EA #9E66EA #E066EA
triadic
#9E66EA #EA9E66 #66EA9E
tetradic
#9E66EA #EA6670 #B2EA66 #66EAE0
square
#9E66EA #EA6670 #B2EA66 #66EAE0
split-complementary
#9E66EA #EAE066 #70EA66
monochromatic
#5F1ABC #7C30E3 #9E66EA #C09CF1 #E2D2F9

Accessibility & contrast

On white

3.79
#9E66EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#9E66EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E66EA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E66EA#FFFFFF#000000##000000
##9E66EA1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A83EE
Deuteranopia (green-blind)
#4182E7
Tritanopia (blue-blind)
#8E819E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9e66ea;
/* rgb */ color: rgb(158, 102, 234);
/* oklch */ color: oklch(63.1% 0.193 300.5);
Tailwind
colors: {
  custom: {
    50: '#bf94f1',
    500: '#9e66ea',
    950: '#000000',
  },
}
SCSS
$custom: #9e66ea;
$custom-light: #bf94f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e66ea",
  "rgb": {
    "r": 158,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 265.455,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63075,
    "c": 0.19312,
    "h": 300.5
  },
  "luminance": 0.22712
}

Semantic roles & 50–950 ramp

primary
#9E66EA
secondary
#D9ECC0
accent
#D80D82
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #9E66EA

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

Preview Lab → · Contrast checker → · Palette generator →

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