#9E6AF5#9E6AF5

#9E6AF5 is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.4% C 0.200 H 297.8°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9E6AF5
RGBrgb(158, 106, 245)
HSLhsl(262, 87%, 69%)
HSVhsv(262, 57%, 96%)
CMYKcmyk(35.5%, 56.7%, 0%, 3.9%)
CIE-LABlab(56.26, 49.41, -62.52)
CIE-LCHlch(56.26, 79.69, 308.32°)
OKLaboklab(64.38% 0.0934 -0.1774)
OKLCHoklch(64.38% 0.2 297.8)
XYZxyz(35.7319, 24.1693, 89.1511)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6AF5 #C1F56A
analogous
#6A7CF5 #9E6AF5 #E46AF5
triadic
#9E6AF5 #F59E6A #6AF59E
tetradic
#9E6AF5 #F56A7C #C1F56A #6AF5E4
square
#9E6AF5 #F56A7C #C1F56A #6AF5E4
split-complementary
#9E6AF5 #F5E46A #7CF56A
monochromatic
#590ED6 #7931F1 #9E6AF5 #C3A3F9 #E9DDFD

Accessibility & contrast

On white

3.60
#9E6AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#9E6AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6AF5
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6AF5#FFFFFF#000000##000000
##9E6AF51.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2387FA
Deuteranopia (green-blind)
#3985F2
Tritanopia (blue-blind)
#8A87A5
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9e6af5;
/* rgb */ color: rgb(158, 106, 245);
/* oklch */ color: oklch(64.4% 0.200 297.8);
Tailwind
colors: {
  custom: {
    50: '#bf96f9',
    500: '#9e6af5',
    950: '#000000',
  },
}
SCSS
$custom: #9e6af5;
$custom-light: #bf96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6af5",
  "rgb": {
    "r": 158,
    "g": 106,
    "b": 245
  },
  "hsl": {
    "h": 262.446,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.64376,
    "c": 0.20044,
    "h": 297.8
  },
  "luminance": 0.2417
}

Semantic roles & 50–950 ramp

primary
#9E6AF5
secondary
#E3F2C9
accent
#E4028F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #9E6AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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