#9E6DF7#9E6DF7

#9E6DF7 is a light, vivid violet. Relative luminance 0.249; OKLCH L 65.0% C 0.199 H 296.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9E6DF7
RGBrgb(158, 109, 247)
HSLhsl(261, 90%, 70%)
HSVhsv(261, 56%, 97%)
CMYKcmyk(36%, 55.9%, 0%, 3.1%)
CIE-LABlab(57.00, 48.29, -62.44)
CIE-LCHlch(57.00, 78.94, 307.72°)
OKLaboklab(64.96% 0.0898 -0.1771)
OKLCHoklch(64.96% 0.199 296.9)
XYZxyz(36.3534, 24.9212, 90.8726)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6DF7 #C6F76D
analogous
#6D81F7 #9E6DF7 #E36DF7
triadic
#9E6DF7 #F79E6D #6DF79E
tetradic
#9E6DF7 #F76D81 #C6F76D #6DF7E3
square
#9E6DF7 #F76D81 #C6F76D #6DF7E3
split-complementary
#9E6DF7 #F7E36D #81F76D
monochromatic
#560CDD #7733F4 #9E6DF7 #C5A7FA #EBE1FD

Accessibility & contrast

On white

3.51
#9E6DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#9E6DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6DF7
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6DF7#FFFFFF#000000##000000
##9E6DF71.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2989FC
Deuteranopia (green-blind)
#3C87F4
Tritanopia (blue-blind)
#898AA8
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9e6df7;
/* rgb */ color: rgb(158, 109, 247);
/* oklch */ color: oklch(65.0% 0.199 296.9);
Tailwind
colors: {
  custom: {
    50: '#bf98fb',
    500: '#9e6df7',
    950: '#000000',
  },
}
SCSS
$custom: #9e6df7;
$custom-light: #bf98fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6df7",
  "rgb": {
    "r": 158,
    "g": 109,
    "b": 247
  },
  "hsl": {
    "h": 261.304,
    "s": 89.61,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6496,
    "c": 0.1986,
    "h": 296.9
  },
  "luminance": 0.24922
}

Semantic roles & 50–950 ramp

primary
#9E6DF7
secondary
#E6F3CC
accent
#E60094
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9E6DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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