#9E6FF0#9E6FF0

#9E6FF0 is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.8% C 0.187 H 297.8°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9E6FF0
RGBrgb(158, 111, 240)
HSLhsl(262, 81%, 69%)
HSVhsv(262, 54%, 94%)
CMYKcmyk(34.2%, 53.8%, 0%, 5.9%)
CIE-LABlab(57.01, 45.43, -58.54)
CIE-LCHlch(57.01, 74.10, 307.81°)
OKLaboklab(64.83% 0.0872 -0.1657)
OKLCHoklch(64.83% 0.187 297.8)
XYZxyz(35.5093, 24.9288, 85.3621)
Luminance0.2493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6FF0 #C1F06F
analogous
#6F81F0 #9E6FF0 #DE6FF0
triadic
#9E6FF0 #F09E6F #6FF09E
tetradic
#9E6FF0 #F06F81 #C1F06F #6FF0DE
square
#9E6FF0 #F06F81 #C1F06F #6FF0DE
split-complementary
#9E6FF0 #F0DE6F #81F06F
monochromatic
#5916CF #7938EA #9E6FF0 #C3A6F6 #E9DEFC

Accessibility & contrast

On white

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

On black

5.99
#9E6FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6FF0
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6FF0#FFFFFF#000000##000000
##9E6FF01.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3989F4
Deuteranopia (green-blind)
#4787ED
Tritanopia (blue-blind)
#8C89A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9e6ff0;
/* rgb */ color: rgb(158, 111, 240);
/* oklch */ color: oklch(64.8% 0.187 297.8);
Tailwind
colors: {
  custom: {
    50: '#bf9af6',
    500: '#9e6ff0',
    950: '#000000',
  },
}
SCSS
$custom: #9e6ff0;
$custom-light: #bf9af6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6ff0",
  "rgb": {
    "r": 158,
    "g": 111,
    "b": 240
  },
  "hsl": {
    "h": 261.86,
    "s": 81.132,
    "l": 68.824
  },
  "oklch": {
    "l": 0.64833,
    "c": 0.18725,
    "h": 297.8
  },
  "luminance": 0.24929
}

Semantic roles & 50–950 ramp

primary
#9E6FF0
secondary
#E3F0CA
accent
#DD0890
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #9E6FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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