#9E6AF2#9E6AF2

#9E6AF2 is a light, vivid violet. Relative luminance 0.240; OKLCH L 64.2% C 0.197 H 298.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9E6AF2
RGBrgb(158, 106, 242)
HSLhsl(263, 84%, 68%)
HSVhsv(263, 56%, 95%)
CMYKcmyk(34.7%, 56.2%, 0%, 5.1%)
CIE-LABlab(56.08, 48.66, -61.15)
CIE-LCHlch(56.08, 78.15, 308.51°)
OKLaboklab(64.19% 0.0934 -0.1733)
OKLCHoklch(64.19% 0.197 298.3)
XYZxyz(35.2776, 23.9876, 86.7586)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6AF2 #BEF26A
analogous
#6A7AF2 #9E6AF2 #E26AF2
triadic
#9E6AF2 #F29E6A #6AF29E
tetradic
#9E6AF2 #F26A7A #BEF26A #6AF2E2
square
#9E6AF2 #F26A7A #BEF26A #6AF2E2
split-complementary
#9E6AF2 #F2E26A #7AF26A
monochromatic
#5B12CF #7932ED #9E6AF2 #C3A2F7 #E7DBFC

Accessibility & contrast

On white

3.62
#9E6AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#9E6AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6AF2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6AF2#FFFFFF#000000##000000
##9E6AF21.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2987F6
Deuteranopia (green-blind)
#3D85EF
Tritanopia (blue-blind)
#8B86A4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9e6af2;
/* rgb */ color: rgb(158, 106, 242);
/* oklch */ color: oklch(64.2% 0.197 298.3);
Tailwind
colors: {
  custom: {
    50: '#bf96f7',
    500: '#9e6af2',
    950: '#000000',
  },
}
SCSS
$custom: #9e6af2;
$custom-light: #bf96f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6af2",
  "rgb": {
    "r": 158,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 262.941,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64185,
    "c": 0.19687,
    "h": 298.3
  },
  "luminance": 0.23988
}

Semantic roles & 50–950 ramp

primary
#9E6AF2
secondary
#E1F1C7
accent
#E0058D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #9E6AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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