#9E66EB#9E66EB

#9E66EB is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.1% C 0.194 H 300.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9E66EB
RGBrgb(158, 102, 235)
HSLhsl(265, 77%, 66%)
HSVhsv(265, 57%, 92%)
CMYKcmyk(32.8%, 56.6%, 0%, 7.8%)
CIE-LABlab(54.83, 49.07, -59.24)
CIE-LCHlch(54.83, 76.92, 309.64°)
OKLaboklab(63.14% 0.0981 -0.1677)
OKLCHoklch(63.14% 0.194 300.3)
XYZxyz(33.8437, 22.7698, 81.1931)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E66EB #B3EB66
analogous
#6670EB #9E66EB #E066EB
triadic
#9E66EB #EB9E66 #66EB9E
tetradic
#9E66EB #EB6670 #B3EB66 #66EBE0
square
#9E66EB #EB6670 #B3EB66 #66EBE0
split-complementary
#9E66EB #EBE066 #70EB66
monochromatic
#5E19BE #7C30E4 #9E66EB #C09CF2 #E3D2F9

Accessibility & contrast

On white

3.78
#9E66EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#9E66EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E66EB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E66EB#FFFFFF#000000##000000
##9E66EB1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2983EF
Deuteranopia (green-blind)
#4082E8
Tritanopia (blue-blind)
#8E819F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9e66eb;
/* rgb */ color: rgb(158, 102, 235);
/* oklch */ color: oklch(63.1% 0.194 300.3);
Tailwind
colors: {
  custom: {
    50: '#bf94f2',
    500: '#9e66eb',
    950: '#000000',
  },
}
SCSS
$custom: #9e66eb;
$custom-light: #bf94f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e66eb",
  "rgb": {
    "r": 158,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 265.263,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63139,
    "c": 0.1943,
    "h": 300.3
  },
  "luminance": 0.2277
}

Semantic roles & 50–950 ramp

primary
#9E66EB
secondary
#DAECC1
accent
#D90C83
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #9E66EB

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

Preview Lab → · Contrast checker → · Palette generator →

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