#9E6CED#9E6CED

#9E6CED is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.2% C 0.188 H 298.9°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9E6CED
RGBrgb(158, 108, 237)
HSLhsl(263, 78%, 68%)
HSVhsv(263, 54%, 93%)
CMYKcmyk(33.3%, 54.4%, 0%, 7.1%)
CIE-LABlab(56.20, 46.32, -58.17)
CIE-LCHlch(56.20, 74.36, 308.53°)
OKLaboklab(64.18% 0.0908 -0.1646)
OKLCHoklch(64.18% 0.188 298.9)
XYZxyz(34.7455, 24.1083, 82.9272)
Luminance0.2411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6CED #BBED6C
analogous
#6C7AED #9E6CED #DF6CED
triadic
#9E6CED #ED9E6C #6CED9E
tetradic
#9E6CED #ED6C7A #BBED6C #6CEDDF
square
#9E6CED #ED6C7A #BBED6C #6CEDDF
split-complementary
#9E6CED #EDDF6C #7AED6C
monochromatic
#5C18C6 #7A35E6 #9E6CED #C2A3F4 #E6D9FA

Accessibility & contrast

On white

3.61
#9E6CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#9E6CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6CED
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6CED#FFFFFF#000000##000000
##9E6CED1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3687F1
Deuteranopia (green-blind)
#4686EA
Tritanopia (blue-blind)
#8D86A2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9e6ced;
/* rgb */ color: rgb(158, 108, 237);
/* oklch */ color: oklch(64.2% 0.188 298.9);
Tailwind
colors: {
  custom: {
    50: '#bf98f3',
    500: '#9e6ced',
    950: '#000000',
  },
}
SCSS
$custom: #9e6ced;
$custom-light: #bf98f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6ced",
  "rgb": {
    "r": 158,
    "g": 108,
    "b": 237
  },
  "hsl": {
    "h": 263.256,
    "s": 78.182,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64178,
    "c": 0.18798,
    "h": 298.9
  },
  "luminance": 0.24109
}

Semantic roles & 50–950 ramp

primary
#9E6CED
secondary
#DFEEC6
accent
#DA0B8A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #9E6CED

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

Preview Lab → · Contrast checker → · Palette generator →

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