#9E6DEC#9E6DEC

#9E6DEC is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.3% C 0.185 H 298.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9E6DEC
RGBrgb(158, 109, 236)
HSLhsl(263, 77%, 68%)
HSVhsv(263, 54%, 93%)
CMYKcmyk(33.1%, 53.8%, 0%, 7.5%)
CIE-LABlab(56.35, 45.52, -57.37)
CIE-LCHlch(56.35, 73.23, 308.43°)
OKLaboklab(64.27% 0.0896 -0.1622)
OKLCHoklch(64.27% 0.185 298.9)
XYZxyz(34.7058, 24.2622, 82.1952)
Luminance0.2426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6DEC #BBEC6D
analogous
#6D7BEC #9E6DEC #DE6DEC
triadic
#9E6DEC #EC9E6D #6DEC9E
tetradic
#9E6DEC #EC6D7B #BBEC6D #6DECDE
square
#9E6DEC #EC6D7B #BBEC6D #6DECDE
split-complementary
#9E6DEC #ECDE6D #7BEC6D
monochromatic
#5C1AC5 #7A37E5 #9E6DEC #C2A3F3 #E6D9FA

Accessibility & contrast

On white

3.59
#9E6DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#9E6DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6DEC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6DEC#FFFFFF#000000##000000
##9E6DEC1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3987F0
Deuteranopia (green-blind)
#4986E9
Tritanopia (blue-blind)
#8D86A2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9e6dec;
/* rgb */ color: rgb(158, 109, 236);
/* oklch */ color: oklch(64.3% 0.185 298.9);
Tailwind
colors: {
  custom: {
    50: '#be98f3',
    500: '#9e6dec',
    950: '#000000',
  },
}
SCSS
$custom: #9e6dec;
$custom-light: #be98f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6dec",
  "rgb": {
    "r": 158,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 263.15,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64273,
    "c": 0.18531,
    "h": 298.9
  },
  "luminance": 0.24263
}

Semantic roles & 50–950 ramp

primary
#9E6DEC
secondary
#DFEEC7
accent
#D90C8A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9E6DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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