#9E6BEE#9E6BEE

#9E6BEE is a light, vivid violet. Relative luminance 0.240; OKLCH L 64.1% C 0.191 H 298.9°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9E6BEE
RGBrgb(158, 107, 238)
HSLhsl(263, 79%, 68%)
HSVhsv(263, 55%, 93%)
CMYKcmyk(33.6%, 55%, 0%, 6.7%)
CIE-LABlab(56.04, 47.12, -58.97)
CIE-LCHlch(56.04, 75.48, 308.62°)
OKLaboklab(64.09% 0.0921 -0.1669)
OKLCHoklch(64.09% 0.191 298.9)
XYZxyz(34.7871, 23.9572, 83.6638)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6BEE #BBEE6B
analogous
#6B79EE #9E6BEE #E06BEE
triadic
#9E6BEE #EE9E6B #6BEE9E
tetradic
#9E6BEE #EE6B79 #BBEE6B #6BEEE0
square
#9E6BEE #EE6B79 #BBEE6B #6BEEE0
split-complementary
#9E6BEE #EEE06B #79EE6B
monochromatic
#5C17C8 #7A34E8 #9E6BEE #C2A2F4 #E6D9FB

Accessibility & contrast

On white

3.63
#9E6BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#9E6BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6BEE
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6BEE#FFFFFF#000000##000000
##9E6BEE1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3286F2
Deuteranopia (green-blind)
#4485EB
Tritanopia (blue-blind)
#8D85A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9e6bee;
/* rgb */ color: rgb(158, 107, 238);
/* oklch */ color: oklch(64.1% 0.191 298.9);
Tailwind
colors: {
  custom: {
    50: '#bf97f4',
    500: '#9e6bee',
    950: '#000000',
  },
}
SCSS
$custom: #9e6bee;
$custom-light: #bf97f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6bee",
  "rgb": {
    "r": 158,
    "g": 107,
    "b": 238
  },
  "hsl": {
    "h": 263.359,
    "s": 79.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64086,
    "c": 0.19065,
    "h": 298.9
  },
  "luminance": 0.23958
}

Semantic roles & 50–950 ramp

primary
#9E6BEE
secondary
#DFEFC6
accent
#DC0A8A
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #9E6BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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