#9E6AF6#9E6AF6

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

Color values

HEX#9E6AF6
RGBrgb(158, 106, 246)
HSLhsl(262, 89%, 69%)
HSVhsv(262, 57%, 96%)
CMYKcmyk(35.8%, 56.9%, 0%, 3.5%)
CIE-LABlab(56.32, 49.66, -62.98)
CIE-LCHlch(56.32, 80.21, 308.26°)
OKLaboklab(64.44% 0.0934 -0.1787)
OKLCHoklch(64.44% 0.202 297.6)
XYZxyz(35.8850, 24.2305, 89.9573)
Luminance0.2423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6AF6 #C2F66A
analogous
#6A7CF6 #9E6AF6 #E46AF6
triadic
#9E6AF6 #F69E6A #6AF69E
tetradic
#9E6AF6 #F66A7C #C2F66A #6AF6E4
square
#9E6AF6 #F66A7C #C2F66A #6AF6E4
split-complementary
#9E6AF6 #F6E46A #7CF66A
monochromatic
#590DD9 #7830F3 #9E6AF6 #C4A4F9 #E9DDFD

Accessibility & contrast

On white

3.59
#9E6AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#9E6AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6AF6
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6AF6#FFFFFF#000000##000000
##9E6AF61.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2187FB
Deuteranopia (green-blind)
#3885F3
Tritanopia (blue-blind)
#8A87A6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9e6af6;
/* rgb */ color: rgb(158, 106, 246);
/* oklch */ color: oklch(64.4% 0.202 297.6);
Tailwind
colors: {
  custom: {
    50: '#bf96fa',
    500: '#9e6af6',
    950: '#000000',
  },
}
SCSS
$custom: #9e6af6;
$custom-light: #bf96fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6af6",
  "rgb": {
    "r": 158,
    "g": 106,
    "b": 246
  },
  "hsl": {
    "h": 262.286,
    "s": 88.608,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64441,
    "c": 0.20163,
    "h": 297.6
  },
  "luminance": 0.24231
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E6AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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