#9E6CFD#9E6CFD

#9E6CFD is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.2% C 0.207 H 296.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9E6CFD
RGBrgb(158, 108, 253)
HSLhsl(261, 97%, 71%)
HSVhsv(261, 57%, 99%)
CMYKcmyk(37.5%, 57.3%, 0%, 0.8%)
CIE-LABlab(57.16, 50.36, -65.50)
CIE-LCHlch(57.16, 82.63, 307.55°)
OKLaboklab(65.2% 0.091 -0.1861)
OKLCHoklch(65.2% 0.207 296.1)
XYZxyz(37.1882, 25.0854, 95.7921)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6CFD #CBFD6C
analogous
#6C82FD #9E6CFD #E76CFD
triadic
#9E6CFD #FD9E6C #6CFD9E
tetradic
#9E6CFD #FD6C82 #CBFD6C #6CFDE7
square
#9E6CFD #FD6C82 #CBFD6C #6CFDE7
split-complementary
#9E6CFD #FDE76C #82FD6C
monochromatic
#5303EB #7630FC #9E6CFD #C6A8FE #EBE1FF

Accessibility & contrast

On white

3.49
#9E6CFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#9E6CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6CFD
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6CFD#FFFFFF#000000##000000
##9E6CFD1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#178AFF
Deuteranopia (green-blind)
#3187FA
Tritanopia (blue-blind)
#878BAA
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9e6cfd;
/* rgb */ color: rgb(158, 108, 253);
/* oklch */ color: oklch(65.2% 0.207 296.1);
Tailwind
colors: {
  custom: {
    50: '#c098ff',
    500: '#9e6cfd',
    950: '#000000',
  },
}
SCSS
$custom: #9e6cfd;
$custom-light: #c098ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6cfd",
  "rgb": {
    "r": 158,
    "g": 108,
    "b": 253
  },
  "hsl": {
    "h": 260.69,
    "s": 97.315,
    "l": 70.784
  },
  "oklch": {
    "l": 0.65195,
    "c": 0.20717,
    "h": 296.1
  },
  "luminance": 0.25086
}

Semantic roles & 50–950 ramp

primary
#9E6CFD
secondary
#E8F6CF
accent
#E60096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9E6CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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