#9E6BEB#9E6BEB

#9E6BEB is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.9% C 0.187 H 299.5°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9E6BEB
RGBrgb(158, 107, 235)
HSLhsl(264, 76%, 67%)
HSVhsv(264, 54%, 92%)
CMYKcmyk(32.8%, 54.5%, 0%, 7.8%)
CIE-LABlab(55.87, 46.37, -57.58)
CIE-LCHlch(55.87, 73.93, 308.85°)
OKLaboklab(63.9% 0.092 -0.1628)
OKLCHoklch(63.9% 0.187 299.5)
XYZxyz(34.3500, 23.7824, 81.3619)
Luminance0.2378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6BEB #B8EB6B
analogous
#6B78EB #9E6BEB #DE6BEB
triadic
#9E6BEB #EB9E6B #6BEB9E
tetradic
#9E6BEB #EB6B78 #B8EB6B #6BEBDE
square
#9E6BEB #EB6B78 #B8EB6B #6BEBDE
split-complementary
#9E6BEB #EBDE6B #78EB6B
monochromatic
#5D1AC1 #7B35E4 #9E6BEB #C1A1F2 #E5D7FA

Accessibility & contrast

On white

3.65
#9E6BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#9E6BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6BEB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6BEB#FFFFFF#000000##000000
##9E6BEB1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3686EF
Deuteranopia (green-blind)
#4785E8
Tritanopia (blue-blind)
#8E85A1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9e6beb;
/* rgb */ color: rgb(158, 107, 235);
/* oklch */ color: oklch(63.9% 0.187 299.5);
Tailwind
colors: {
  custom: {
    50: '#be97f2',
    500: '#9e6beb',
    950: '#000000',
  },
}
SCSS
$custom: #9e6beb;
$custom-light: #be97f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6beb",
  "rgb": {
    "r": 158,
    "g": 107,
    "b": 235
  },
  "hsl": {
    "h": 263.906,
    "s": 76.19,
    "l": 67.059
  },
  "oklch": {
    "l": 0.639,
    "c": 0.18704,
    "h": 299.5
  },
  "luminance": 0.23783
}

Semantic roles & 50–950 ramp

primary
#9E6BEB
secondary
#DDEDC5
accent
#D80D87
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #9E6BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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