#9D66EF#9D66EF

#9D66EF is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.3% C 0.199 H 299.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9D66EF
RGBrgb(157, 102, 239)
HSLhsl(264, 81%, 67%)
HSVhsv(264, 57%, 94%)
CMYKcmyk(34.3%, 57.3%, 0%, 6.3%)
CIE-LABlab(54.97, 49.83, -61.25)
CIE-LCHlch(54.97, 78.96, 309.13°)
OKLaboklab(63.29% 0.0969 -0.1737)
OKLCHoklch(63.29% 0.199 299.2)
XYZxyz(34.2322, 22.9025, 84.2617)
Luminance0.2290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D66EF #B8EF66
analogous
#6674EF #9D66EF #E266EF
triadic
#9D66EF #EF9D66 #66EF9D
tetradic
#9D66EF #EF6674 #B8EF66 #66EFE2
square
#9D66EF #EF6674 #B8EF66 #66EFE2
split-complementary
#9D66EF #EFE266 #74EF66
monochromatic
#5C15C6 #7A2FE9 #9D66EF #C09DF5 #E4D5FB

Accessibility & contrast

On white

3.76
#9D66EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#9D66EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D66EF
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D66EF#FFFFFF#000000##000000
##9D66EF1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2083F3
Deuteranopia (green-blind)
#3982EC
Tritanopia (blue-blind)
#8B82A1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9d66ef;
/* rgb */ color: rgb(157, 102, 239);
/* oklch */ color: oklch(63.3% 0.199 299.2);
Tailwind
colors: {
  custom: {
    50: '#be94f5',
    500: '#9d66ef',
    950: '#000000',
  },
}
SCSS
$custom: #9d66ef;
$custom-light: #be94f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d66ef",
  "rgb": {
    "r": 157,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 264.088,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63293,
    "c": 0.19885,
    "h": 299.2
  },
  "luminance": 0.22903
}

Semantic roles & 50–950 ramp

primary
#9D66EF
secondary
#DDEEC2
accent
#DD0888
background
#FCF9FF
surface
#F8F1FE
border
#D1CBD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #9D66EF

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

Preview Lab → · Contrast checker → · Palette generator →

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