#9D66EC#9D66EC

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

Color values

HEX#9D66EC
RGBrgb(157, 102, 236)
HSLhsl(265, 78%, 66%)
HSVhsv(265, 57%, 93%)
CMYKcmyk(33.5%, 56.8%, 0%, 7.5%)
CIE-LABlab(54.79, 49.09, -59.87)
CIE-LCHlch(54.79, 77.42, 309.35°)
OKLaboklab(63.1% 0.0969 -0.1696)
OKLCHoklch(63.1% 0.195 299.7)
XYZxyz(33.7927, 22.7267, 81.9470)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D66EC #B5EC66
analogous
#6672EC #9D66EC #E066EC
triadic
#9D66EC #EC9D66 #66EC9D
tetradic
#9D66EC #EC6672 #B5EC66 #66ECE0
square
#9D66EC #EC6672 #B5EC66 #66ECE0
split-complementary
#9D66EC #ECE066 #72EC66
monochromatic
#5D18C0 #7A30E5 #9D66EC #C09CF3 #E3D3FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D66EC#FFFFFF#000000##000000
##9D66EC1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2683F0
Deuteranopia (green-blind)
#3D82E9
Tritanopia (blue-blind)
#8C819F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9d66ec;
/* rgb */ color: rgb(157, 102, 236);
/* oklch */ color: oklch(63.1% 0.195 299.7);
Tailwind
colors: {
  custom: {
    50: '#be94f3',
    500: '#9d66ec',
    950: '#000000',
  },
}
SCSS
$custom: #9d66ec;
$custom-light: #be94f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d66ec",
  "rgb": {
    "r": 157,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 264.627,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63101,
    "c": 0.19532,
    "h": 299.7
  },
  "luminance": 0.22727
}

Semantic roles & 50–950 ramp

primary
#9D66EC
secondary
#DBEDC1
accent
#DA0B85
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #9D66EC

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

Preview Lab → · Contrast checker → · Palette generator →

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