#9D66ED#9D66ED

#9D66ED is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.2% C 0.197 H 299.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9D66ED
RGBrgb(157, 102, 237)
HSLhsl(264, 79%, 66%)
HSVhsv(264, 57%, 93%)
CMYKcmyk(33.8%, 57%, 0%, 7.1%)
CIE-LABlab(54.85, 49.33, -60.33)
CIE-LCHlch(54.85, 77.94, 309.27°)
OKLaboklab(63.17% 0.0969 -0.171)
OKLCHoklch(63.17% 0.197 299.5)
XYZxyz(33.9384, 22.7850, 82.7143)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D66ED #B6ED66
analogous
#6673ED #9D66ED #E066ED
triadic
#9D66ED #ED9D66 #66ED9D
tetradic
#9D66ED #ED6673 #B6ED66 #66EDE0
square
#9D66ED #ED6673 #B6ED66 #66EDE0
split-complementary
#9D66ED #EDE066 #73ED66
monochromatic
#5C17C2 #7A2FE7 #9D66ED #C09DF3 #E3D4FA

Accessibility & contrast

On white

3.78
#9D66ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#9D66ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D66ED
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D66ED#FFFFFF#000000##000000
##9D66ED1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2483F1
Deuteranopia (green-blind)
#3C82EA
Tritanopia (blue-blind)
#8C82A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9d66ed;
/* rgb */ color: rgb(157, 102, 237);
/* oklch */ color: oklch(63.2% 0.197 299.5);
Tailwind
colors: {
  custom: {
    50: '#be94f3',
    500: '#9d66ed',
    950: '#000000',
  },
}
SCSS
$custom: #9d66ed;
$custom-light: #be94f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d66ed",
  "rgb": {
    "r": 157,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 264.444,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63165,
    "c": 0.1965,
    "h": 299.5
  },
  "luminance": 0.22785
}

Semantic roles & 50–950 ramp

primary
#9D66ED
secondary
#DBEDC2
accent
#DB0A86
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #9D66ED

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

Preview Lab → · Contrast checker → · Palette generator →

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