#9D66EA#9D66EA

#9D66EA is a light, vivid violet. Relative luminance 0.226; OKLCH L 63.0% C 0.193 H 300.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9D66EA
RGBrgb(157, 102, 234)
HSLhsl(265, 76%, 66%)
HSVhsv(265, 56%, 92%)
CMYKcmyk(32.9%, 56.4%, 0%, 8.2%)
CIE-LABlab(54.67, 48.59, -58.95)
CIE-LCHlch(54.67, 76.39, 309.50°)
OKLaboklab(62.97% 0.0969 -0.1669)
OKLCHoklch(62.97% 0.193 300.1)
XYZxyz(33.5037, 22.6111, 80.4252)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D66EA #B3EA66
analogous
#6671EA #9D66EA #DF66EA
triadic
#9D66EA #EA9D66 #66EA9D
tetradic
#9D66EA #EA6671 #B3EA66 #66EADF
square
#9D66EA #EA6671 #B3EA66 #66EADF
split-complementary
#9D66EA #EADF66 #71EA66
monochromatic
#5D1ABC #7B30E3 #9D66EA #BF9CF1 #E2D2F9

Accessibility & contrast

On white

3.80
#9D66EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#9D66EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D66EA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D66EA#FFFFFF#000000##000000
##9D66EA1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2982EE
Deuteranopia (green-blind)
#4082E7
Tritanopia (blue-blind)
#8D819E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9d66ea;
/* rgb */ color: rgb(157, 102, 234);
/* oklch */ color: oklch(63.0% 0.193 300.1);
Tailwind
colors: {
  custom: {
    50: '#be93f1',
    500: '#9d66ea',
    950: '#000000',
  },
}
SCSS
$custom: #9d66ea;
$custom-light: #be93f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d66ea",
  "rgb": {
    "r": 157,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 265,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62974,
    "c": 0.19295,
    "h": 300.1
  },
  "luminance": 0.22611
}

Semantic roles & 50–950 ramp

primary
#9D66EA
secondary
#DAECC0
accent
#D80D84
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9D66EA

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

Preview Lab → · Contrast checker → · Palette generator →

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