#9E6EEC#9E6EEC

#9E6EEC is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.4% C 0.184 H 298.7°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9E6EEC
RGBrgb(158, 110, 236)
HSLhsl(263, 77%, 68%)
HSVhsv(263, 53%, 93%)
CMYKcmyk(33.1%, 53.4%, 0%, 7.5%)
CIE-LABlab(56.56, 44.98, -57.03)
CIE-LCHlch(56.56, 72.63, 308.26°)
OKLaboklab(64.43% 0.0883 -0.1612)
OKLCHoklch(64.43% 0.184 298.7)
XYZxyz(34.8131, 24.4767, 82.2310)
Luminance0.2448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6EEC #BCEC6E
analogous
#6E7DEC #9E6EEC #DD6EEC
triadic
#9E6EEC #EC9E6E #6EEC9E
tetradic
#9E6EEC #EC6E7D #BCEC6E #6EECDD
square
#9E6EEC #EC6E7D #BCEC6E #6EECDD
split-complementary
#9E6EEC #ECDD6E #7DEC6E
monochromatic
#5B1AC6 #7A38E5 #9E6EEC #C2A4F3 #E6DAFA

Accessibility & contrast

On white

3.56
#9E6EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#9E6EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6EEC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6EEC#FFFFFF#000000##000000
##9E6EEC1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B88F0
Deuteranopia (green-blind)
#4A87E9
Tritanopia (blue-blind)
#8D87A3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9e6eec;
/* rgb */ color: rgb(158, 110, 236);
/* oklch */ color: oklch(64.4% 0.184 298.7);
Tailwind
colors: {
  custom: {
    50: '#be99f3',
    500: '#9e6eec',
    950: '#000000',
  },
}
SCSS
$custom: #9e6eec;
$custom-light: #be99f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6eec",
  "rgb": {
    "r": 158,
    "g": 110,
    "b": 236
  },
  "hsl": {
    "h": 262.857,
    "s": 76.829,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6443,
    "c": 0.18384,
    "h": 298.7
  },
  "luminance": 0.24477
}

Semantic roles & 50–950 ramp

primary
#9E6EEC
secondary
#E0EEC7
accent
#D90C8B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9E6EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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