#9E6DEB#9E6DEB

#9E6DEB is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.2% C 0.184 H 299.1°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9E6DEB
RGBrgb(158, 109, 235)
HSLhsl(263, 76%, 67%)
HSVhsv(263, 54%, 92%)
CMYKcmyk(32.8%, 53.6%, 0%, 7.8%)
CIE-LABlab(56.29, 45.28, -56.90)
CIE-LCHlch(56.29, 72.72, 308.51°)
OKLaboklab(64.21% 0.0895 -0.1609)
OKLCHoklch(64.21% 0.184 299.1)
XYZxyz(34.5610, 24.2042, 81.4322)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6DEB #BAEB6D
analogous
#6D7BEB #9E6DEB #DD6DEB
triadic
#9E6DEB #EB9E6D #6DEB9E
tetradic
#9E6DEB #EB6D7B #BAEB6D #6DEBDD
square
#9E6DEB #EB6D7B #BAEB6D #6DEBDD
split-complementary
#9E6DEB #EBDD6D #7BEB6D
monochromatic
#5C1BC3 #7A37E4 #9E6DEB #C2A3F2 #E6D9FA

Accessibility & contrast

On white

3.60
#9E6DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#9E6DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6DEB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6DEB#FFFFFF#000000##000000
##9E6DEB1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A87EF
Deuteranopia (green-blind)
#4A86E8
Tritanopia (blue-blind)
#8E86A2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9e6deb;
/* rgb */ color: rgb(158, 109, 235);
/* oklch */ color: oklch(64.2% 0.184 299.1);
Tailwind
colors: {
  custom: {
    50: '#be98f2',
    500: '#9e6deb',
    950: '#000000',
  },
}
SCSS
$custom: #9e6deb;
$custom-light: #be98f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6deb",
  "rgb": {
    "r": 158,
    "g": 109,
    "b": 235
  },
  "hsl": {
    "h": 263.333,
    "s": 75.904,
    "l": 67.451
  },
  "oklch": {
    "l": 0.64212,
    "c": 0.18409,
    "h": 299.1
  },
  "luminance": 0.24205
}

Semantic roles & 50–950 ramp

primary
#9E6DEB
secondary
#DEEEC6
accent
#D80D89
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9E6DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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