#9D66E7#9D66E7

#9D66E7 is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.8% C 0.189 H 300.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9D66E7
RGBrgb(157, 102, 231)
HSLhsl(266, 73%, 65%)
HSVhsv(266, 56%, 91%)
CMYKcmyk(32%, 55.8%, 0%, 9.4%)
CIE-LABlab(54.49, 47.85, -57.55)
CIE-LCHlch(54.49, 74.85, 309.74°)
OKLaboklab(62.79% 0.0968 -0.1628)
OKLCHoklch(62.79% 0.189 300.7)
XYZxyz(33.0764, 22.4402, 78.1746)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D66E7 #B0E766
analogous
#6670E7 #9D66E7 #DD66E7
triadic
#9D66E7 #E79D66 #66E79D
tetradic
#9D66E7 #E76670 #B0E766 #66E7DD
square
#9D66E7 #E76670 #B0E766 #66E7DD
split-complementary
#9D66E7 #E7DD66 #70E766
monochromatic
#5E1DB6 #7B31DF #9D66E7 #BF9BEF #E1D0F8

Accessibility & contrast

On white

3.83
#9D66E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#9D66E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D66E7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D66E7#FFFFFF#000000##000000
##9D66E71.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E82EB
Deuteranopia (green-blind)
#4382E4
Tritanopia (blue-blind)
#8E809D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9d66e7;
/* rgb */ color: rgb(157, 102, 231);
/* oklch */ color: oklch(62.8% 0.189 300.7);
Tailwind
colors: {
  custom: {
    50: '#be93ef',
    500: '#9d66e7',
    950: '#000000',
  },
}
SCSS
$custom: #9d66e7;
$custom-light: #be93ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9d66e7",
  "rgb": {
    "r": 157,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 265.581,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62786,
    "c": 0.18941,
    "h": 300.7
  },
  "luminance": 0.2244
}

Semantic roles & 50–950 ramp

primary
#9D66E7
secondary
#D8EABF
accent
#D51181
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9D66E7

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

Preview Lab → · Contrast checker → · Palette generator →

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