#9E6EEA#9E6EEA

#9E6EEA is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.3% C 0.181 H 299.1°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9E6EEA
RGBrgb(158, 110, 234)
HSLhsl(263, 75%, 67%)
HSVhsv(263, 53%, 92%)
CMYKcmyk(32.5%, 53%, 0%, 8.2%)
CIE-LABlab(56.45, 44.48, -56.09)
CIE-LCHlch(56.45, 71.59, 308.41°)
OKLaboklab(64.31% 0.0882 -0.1585)
OKLCHoklch(64.31% 0.181 299.1)
XYZxyz(34.5242, 24.3612, 80.7092)
Luminance0.2436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6EEA #BAEA6E
analogous
#6E7CEA #9E6EEA #DC6EEA
triadic
#9E6EEA #EA9E6E #6EEA9E
tetradic
#9E6EEA #EA6E7C #BAEA6E #6EEADC
square
#9E6EEA #EA6E7C #BAEA6E #6EEADC
split-complementary
#9E6EEA #EADC6E #7CEA6E
monochromatic
#5C1CC2 #7A39E2 #9E6EEA #C2A3F2 #E6D9F9

Accessibility & contrast

On white

3.58
#9E6EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#9E6EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6EEA
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6EEA#FFFFFF#000000##000000
##9E6EEA1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e6eea;
/* rgb */ color: rgb(158, 110, 234);
/* oklch */ color: oklch(64.3% 0.181 299.1);
Tailwind
colors: {
  custom: {
    50: '#be99f1',
    500: '#9e6eea',
    950: '#000000',
  },
}
SCSS
$custom: #9e6eea;
$custom-light: #be99f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6eea",
  "rgb": {
    "r": 158,
    "g": 110,
    "b": 234
  },
  "hsl": {
    "h": 263.226,
    "s": 74.699,
    "l": 67.451
  },
  "oklch": {
    "l": 0.64309,
    "c": 0.18139,
    "h": 299.1
  },
  "luminance": 0.24361
}

Semantic roles & 50–950 ramp

primary
#9E6EEA
secondary
#DEEDC7
accent
#D70F89
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9E6EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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