#9E6CF5#9E6CF5

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

Color values

HEX#9E6CF5
RGBrgb(158, 108, 245)
HSLhsl(262, 87%, 69%)
HSVhsv(262, 56%, 96%)
CMYKcmyk(35.5%, 55.9%, 0%, 3.9%)
CIE-LABlab(56.67, 48.33, -61.86)
CIE-LCHlch(56.67, 78.50, 308.00°)
OKLaboklab(64.68% 0.091 -0.1754)
OKLCHoklch(64.68% 0.198 297.4)
XYZxyz(35.9404, 24.5863, 89.2206)
Luminance0.2459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6CF5 #C3F56C
analogous
#6C7FF5 #9E6CF5 #E36CF5
triadic
#9E6CF5 #F59E6C #6CF59E
tetradic
#9E6CF5 #F56C7F #C3F56C #6CF5E3
square
#9E6CF5 #F56C7F #C3F56C #6CF5E3
split-complementary
#9E6CF5 #F5E36C #7FF56C
monochromatic
#580FD8 #7833F1 #9E6CF5 #C4A5F9 #EADFFD

Accessibility & contrast

On white

3.55
#9E6CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#9E6CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6CF5
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6CF5#FFFFFF#000000##000000
##9E6CF51.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A88FA
Deuteranopia (green-blind)
#3D86F2
Tritanopia (blue-blind)
#8A88A6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9e6cf5;
/* rgb */ color: rgb(158, 108, 245);
/* oklch */ color: oklch(64.7% 0.198 297.4);
Tailwind
colors: {
  custom: {
    50: '#bf98f9',
    500: '#9e6cf5',
    950: '#000000',
  },
}
SCSS
$custom: #9e6cf5;
$custom-light: #bf98f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6cf5",
  "rgb": {
    "r": 158,
    "g": 108,
    "b": 245
  },
  "hsl": {
    "h": 261.898,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6468,
    "c": 0.19762,
    "h": 297.4
  },
  "luminance": 0.24587
}

Semantic roles & 50–950 ramp

primary
#9E6CF5
secondary
#E4F2CA
accent
#E40291
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9E6CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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