#9E6CF6#9E6CF6

#9E6CF6 is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.7% C 0.199 H 297.2°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9E6CF6
RGBrgb(158, 108, 246)
HSLhsl(262, 88%, 69%)
HSVhsv(262, 56%, 96%)
CMYKcmyk(35.8%, 56.1%, 0%, 3.5%)
CIE-LABlab(56.73, 48.58, -62.32)
CIE-LCHlch(56.73, 79.02, 307.94°)
OKLaboklab(64.74% 0.091 -0.1768)
OKLCHoklch(64.74% 0.199 297.2)
XYZxyz(36.0935, 24.6475, 90.0268)
Luminance0.2465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6CF6 #C4F66C
analogous
#6C7FF6 #9E6CF6 #E36CF6
triadic
#9E6CF6 #F69E6C #6CF69E
tetradic
#9E6CF6 #F66C7F #C4F66C #6CF6E3
square
#9E6CF6 #F66C7F #C4F66C #6CF6E3
split-complementary
#9E6CF6 #F6E36C #7FF66C
monochromatic
#580DDA #7832F2 #9E6CF6 #C4A6FA #EADFFD

Accessibility & contrast

On white

3.54
#9E6CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#9E6CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6CF6
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6CF6#FFFFFF#000000##000000
##9E6CF61.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2889FB
Deuteranopia (green-blind)
#3C86F3
Tritanopia (blue-blind)
#8A89A7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9e6cf6;
/* rgb */ color: rgb(158, 108, 246);
/* oklch */ color: oklch(64.7% 0.199 297.2);
Tailwind
colors: {
  custom: {
    50: '#bf98fa',
    500: '#9e6cf6',
    950: '#000000',
  },
}
SCSS
$custom: #9e6cf6;
$custom-light: #bf98fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6cf6",
  "rgb": {
    "r": 158,
    "g": 108,
    "b": 246
  },
  "hsl": {
    "h": 261.739,
    "s": 88.462,
    "l": 69.412
  },
  "oklch": {
    "l": 0.64744,
    "c": 0.19881,
    "h": 297.2
  },
  "luminance": 0.24648
}

Semantic roles & 50–950 ramp

primary
#9E6CF6
secondary
#E4F3CB
accent
#E50092
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9E6CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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