#9E6FFC#9E6FFC

#9E6FFC is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 65.6% C 0.202 H 295.7°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9E6FFC
RGBrgb(158, 111, 252)
HSLhsl(260, 96%, 71%)
HSVhsv(260, 56%, 99%)
CMYKcmyk(37.3%, 56%, 0%, 1.2%)
CIE-LABlab(57.72, 48.48, -64.05)
CIE-LCHlch(57.72, 80.33, 307.12°)
OKLaboklab(65.59% 0.0875 -0.1819)
OKLCHoklch(65.59% 0.202 295.7)
XYZxyz(37.3511, 25.6656, 95.0626)
Luminance0.2567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6FFC #CDFC6F
analogous
#6F86FC #9E6FFC #E46FFC
triadic
#9E6FFC #FC9E6F #6FFC9E
tetradic
#9E6FFC #FC6F86 #CDFC6F #6FFCE4
square
#9E6FFC #FC6F86 #CDFC6F #6FFCE4
split-complementary
#9E6FFC #FCE46F #86FC6F
monochromatic
#5205EC #7633FB #9E6FFC #C6ABFD #EBE1FE

Accessibility & contrast

On white

3.42
#9E6FFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#9E6FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6FFC
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6FFC#FFFFFF#000000##000000
##9E6FFC1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#278CFF
Deuteranopia (green-blind)
#3989F9
Tritanopia (blue-blind)
#878DAB
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9e6ffc;
/* rgb */ color: rgb(158, 111, 252);
/* oklch */ color: oklch(65.6% 0.202 295.7);
Tailwind
colors: {
  custom: {
    50: '#c09afe',
    500: '#9e6ffc',
    950: '#000000',
  },
}
SCSS
$custom: #9e6ffc;
$custom-light: #c09afe;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6ffc",
  "rgb": {
    "r": 158,
    "g": 111,
    "b": 252
  },
  "hsl": {
    "h": 260,
    "s": 95.918,
    "l": 71.176
  },
  "oklch": {
    "l": 0.65587,
    "c": 0.20181,
    "h": 295.7
  },
  "luminance": 0.25666
}

Semantic roles & 50–950 ramp

primary
#9E6FFC
secondary
#EAF6D1
accent
#E60099
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9E6FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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