#9E6AF7#9E6AF7

#9E6AF7 is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.5% C 0.203 H 297.4°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9E6AF7
RGBrgb(158, 106, 247)
HSLhsl(262, 90%, 69%)
HSVhsv(262, 57%, 97%)
CMYKcmyk(36%, 57.1%, 0%, 3.1%)
CIE-LABlab(56.38, 49.92, -63.44)
CIE-LCHlch(56.38, 80.72, 308.20°)
OKLaboklab(64.51% 0.0934 -0.18)
OKLCHoklch(64.51% 0.203 297.4)
XYZxyz(36.0389, 24.2920, 90.7678)
Luminance0.2429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6AF7 #C3F76A
analogous
#6A7DF7 #9E6AF7 #E56AF7
triadic
#9E6AF7 #F79E6A #6AF79E
tetradic
#9E6AF7 #F76A7D #C3F76A #6AF7E5
square
#9E6AF7 #F76A7D #C3F76A #6AF7E5
split-complementary
#9E6AF7 #F7E56A #7DF76A
monochromatic
#580CDB #7830F4 #9E6AF7 #C4A4FA #EADEFD

Accessibility & contrast

On white

3.58
#9E6AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#9E6AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6AF7
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6AF7#FFFFFF#000000##000000
##9E6AF71.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E88FC
Deuteranopia (green-blind)
#3786F4
Tritanopia (blue-blind)
#8988A7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9e6af7;
/* rgb */ color: rgb(158, 106, 247);
/* oklch */ color: oklch(64.5% 0.203 297.4);
Tailwind
colors: {
  custom: {
    50: '#bf96fb',
    500: '#9e6af7',
    950: '#000000',
  },
}
SCSS
$custom: #9e6af7;
$custom-light: #bf96fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6af7",
  "rgb": {
    "r": 158,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 262.128,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64505,
    "c": 0.20282,
    "h": 297.4
  },
  "luminance": 0.24293
}

Semantic roles & 50–950 ramp

primary
#9E6AF7
secondary
#E4F3CA
accent
#E60091
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #9E6AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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