#9D66EB#9D66EB

#9D66EB is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.0% C 0.194 H 299.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9D66EB
RGBrgb(157, 102, 235)
HSLhsl(265, 77%, 66%)
HSVhsv(265, 57%, 92%)
CMYKcmyk(33.2%, 56.6%, 0%, 7.8%)
CIE-LABlab(54.73, 48.84, -59.41)
CIE-LCHlch(54.73, 76.91, 309.42°)
OKLaboklab(63.04% 0.0969 -0.1682)
OKLCHoklch(63.04% 0.194 299.9)
XYZxyz(33.6478, 22.6687, 81.1840)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D66EB #B4EB66
analogous
#6671EB #9D66EB #DF66EB
triadic
#9D66EB #EB9D66 #66EB9D
tetradic
#9D66EB #EB6671 #B4EB66 #66EBDF
square
#9D66EB #EB6671 #B4EB66 #66EBDF
split-complementary
#9D66EB #EBDF66 #71EB66
monochromatic
#5D19BE #7A30E4 #9D66EB #C09CF2 #E2D2F9

Accessibility & contrast

On white

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

On black

5.53
#9D66EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D66EB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D66EB#FFFFFF#000000##000000
##9D66EB1.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2883EF
Deuteranopia (green-blind)
#3E82E8
Tritanopia (blue-blind)
#8D819F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9d66eb;
/* rgb */ color: rgb(157, 102, 235);
/* oklch */ color: oklch(63.0% 0.194 299.9);
Tailwind
colors: {
  custom: {
    50: '#be94f2',
    500: '#9d66eb',
    950: '#000000',
  },
}
SCSS
$custom: #9d66eb;
$custom-light: #be94f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d66eb",
  "rgb": {
    "r": 157,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 264.812,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63038,
    "c": 0.19414,
    "h": 299.9
  },
  "luminance": 0.22669
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D66EB

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

Preview Lab → · Contrast checker → · Palette generator →

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