#9E6AFC#9E6AFC

#9E6AFC is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 64.8% C 0.209 H 296.6°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9E6AFC
RGBrgb(158, 106, 252)
HSLhsl(261, 96%, 70%)
HSVhsv(261, 58%, 99%)
CMYKcmyk(37.3%, 57.9%, 0%, 1.2%)
CIE-LABlab(56.69, 51.18, -65.71)
CIE-LCHlch(56.69, 83.29, 307.91°)
OKLaboklab(64.83% 0.0933 -0.1867)
OKLCHoklch(64.83% 0.209 296.6)
XYZxyz(36.8208, 24.6048, 94.8859)
Luminance0.2460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6AFC #C8FC6A
analogous
#6A7FFC #9E6AFC #E76AFC
triadic
#9E6AFC #FC9E6A #6AFC9E
tetradic
#9E6AFC #FC6A7F #C8FC6A #6AFCE7
square
#9E6AFC #FC6A7F #C8FC6A #6AFCE7
split-complementary
#9E6AFC #FCE76A #7FFC6A
monochromatic
#5505E7 #772EFB #9E6AFC #C5A6FD #EBE1FE

Accessibility & contrast

On white

3.55
#9E6AFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#9E6AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6AFC
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6AFC#FFFFFF#000000##000000
##9E6AFC1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E89FF
Deuteranopia (green-blind)
#2E86F9
Tritanopia (blue-blind)
#8789A9
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9e6afc;
/* rgb */ color: rgb(158, 106, 252);
/* oklch */ color: oklch(64.8% 0.209 296.6);
Tailwind
colors: {
  custom: {
    50: '#c096fe',
    500: '#9e6afc',
    950: '#000000',
  },
}
SCSS
$custom: #9e6afc;
$custom-light: #c096fe;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6afc",
  "rgb": {
    "r": 158,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 261.37,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64831,
    "c": 0.20874,
    "h": 296.6
  },
  "luminance": 0.24605
}

Semantic roles & 50–950 ramp

primary
#9E6AFC
secondary
#E7F5CD
accent
#E60094
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #9E6AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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