#9E66ED#9E66ED

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

Color values

HEX#9E66ED
RGBrgb(158, 102, 237)
HSLhsl(265, 79%, 66%)
HSVhsv(265, 57%, 93%)
CMYKcmyk(33.3%, 57%, 0%, 7.1%)
CIE-LABlab(54.95, 49.56, -60.16)
CIE-LCHlch(54.95, 77.95, 309.48°)
OKLaboklab(63.27% 0.0981 -0.1704)
OKLCHoklch(63.27% 0.197 299.9)
XYZxyz(34.1343, 22.8860, 82.7234)
Luminance0.2289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E66ED #B5ED66
analogous
#6672ED #9E66ED #E266ED
triadic
#9E66ED #ED9E66 #66ED9E
tetradic
#9E66ED #ED6672 #B5ED66 #66EDE2
square
#9E66ED #ED6672 #B5ED66 #66EDE2
split-complementary
#9E66ED #EDE266 #72ED66
monochromatic
#5E17C2 #7B2FE7 #9E66ED #C19DF3 #E3D4FA

Accessibility & contrast

On white

3.77
#9E66ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E66ED#FFFFFF#000000##000000
##9E66ED1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2583F1
Deuteranopia (green-blind)
#3D83EA
Tritanopia (blue-blind)
#8D82A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9e66ed;
/* rgb */ color: rgb(158, 102, 237);
/* oklch */ color: oklch(63.3% 0.197 299.9);
Tailwind
colors: {
  custom: {
    50: '#bf94f3',
    500: '#9e66ed',
    950: '#000000',
  },
}
SCSS
$custom: #9e66ed;
$custom-light: #bf94f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e66ed",
  "rgb": {
    "r": 158,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 264.889,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63265,
    "c": 0.19666,
    "h": 299.9
  },
  "luminance": 0.22886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E66ED

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

Preview Lab → · Contrast checker → · Palette generator →

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