#9D66E8#9D66E8

#9D66E8 is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.8% C 0.191 H 300.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9D66E8
RGBrgb(157, 102, 232)
HSLhsl(265, 74%, 65%)
HSVhsv(265, 56%, 91%)
CMYKcmyk(32.3%, 56%, 0%, 9%)
CIE-LABlab(54.55, 48.10, -58.02)
CIE-LCHlch(54.55, 75.36, 309.66°)
OKLaboklab(62.85% 0.0968 -0.1642)
OKLCHoklch(62.85% 0.191 300.5)
XYZxyz(33.2180, 22.4968, 78.9206)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D66E8 #B1E866
analogous
#6670E8 #9D66E8 #DE66E8
triadic
#9D66E8 #E89D66 #66E89D
tetradic
#9D66E8 #E86670 #B1E866 #66E8DE
square
#9D66E8 #E86670 #B1E866 #66E8DE
split-complementary
#9D66E8 #E8DE66 #70E866
monochromatic
#5E1CB8 #7B31E0 #9D66E8 #BF9BF0 #E1D0F8

Accessibility & contrast

On white

3.82
#9D66E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#9D66E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D66E8
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D66E8#FFFFFF#000000##000000
##9D66E81.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D82EC
Deuteranopia (green-blind)
#4282E5
Tritanopia (blue-blind)
#8E809D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9d66e8;
/* rgb */ color: rgb(157, 102, 232);
/* oklch */ color: oklch(62.8% 0.191 300.5);
Tailwind
colors: {
  custom: {
    50: '#be93f0',
    500: '#9d66e8',
    950: '#000000',
  },
}
SCSS
$custom: #9d66e8;
$custom-light: #be93f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d66e8",
  "rgb": {
    "r": 157,
    "g": 102,
    "b": 232
  },
  "hsl": {
    "h": 265.385,
    "s": 73.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62848,
    "c": 0.1906,
    "h": 300.5
  },
  "luminance": 0.22497
}

Semantic roles & 50–950 ramp

primary
#9D66E8
secondary
#D8EBBF
accent
#D61082
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9D66E8

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

Preview Lab → · Contrast checker → · Palette generator →

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