#9E66CD#9E66CD

#9E66CD is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.3% C 0.159 H 307.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9E66CD
RGBrgb(158, 102, 205)
HSLhsl(273, 51%, 60%)
HSVhsv(273, 50%, 80%)
CMYKcmyk(22.9%, 50.2%, 0%, 19.6%)
CIE-LABlab(53.15, 41.89, -44.99)
CIE-LCHlch(53.15, 61.47, 312.96°)
OKLaboklab(61.35% 0.0966 -0.126)
OKLCHoklch(61.35% 0.159 307.5)
XYZxyz(29.8692, 21.1800, 60.2604)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E66CD #95CD66
analogous
#6A66CD #9E66CD #CD66C9
triadic
#9E66CD #CD9E66 #66CD9E
tetradic
#9E66CD #CD6A66 #95CD66 #66C9CD
square
#9E66CD #CD6A66 #95CD66 #66C9CD
split-complementary
#9E66CD #C9CD66 #66CD6A
monochromatic
#602D8B #803DB9 #9E66CD #BB94DC #D8C2EB

Accessibility & contrast

On white

4.01
#9E66CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#9E66CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E66CD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E66CD#FFFFFF#000000##000000
##9E66CD1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD1
Deuteranopia (green-blind)
#5980CA
Tritanopia (blue-blind)
#977890
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9e66cd;
/* rgb */ color: rgb(158, 102, 205);
/* oklch */ color: oklch(61.3% 0.159 307.5);
Tailwind
colors: {
  custom: {
    50: '#bd93dd',
    500: '#9e66cd',
    950: '#000000',
  },
}
SCSS
$custom: #9e66cd;
$custom-light: #bd93dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e66cd",
  "rgb": {
    "r": 158,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 272.621,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61347,
    "c": 0.15876,
    "h": 307.5
  },
  "luminance": 0.2118
}

Semantic roles & 50–950 ramp

primary
#9E66CD
secondary
#C6DBB4
accent
#BE276C
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9E66CD

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

Preview Lab → · Contrast checker → · Palette generator →

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