#9E6DFC#9E6DFC

#9E6DFC is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.3% C 0.205 H 296.0°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9E6DFC
RGBrgb(158, 109, 252)
HSLhsl(261, 96%, 71%)
HSVhsv(261, 57%, 99%)
CMYKcmyk(37.3%, 56.7%, 0%, 1.2%)
CIE-LABlab(57.30, 49.57, -64.72)
CIE-LCHlch(57.30, 81.52, 307.45°)
OKLaboklab(65.28% 0.0898 -0.1838)
OKLCHoklch(65.28% 0.205 296)
XYZxyz(37.1354, 25.2340, 94.9907)
Luminance0.2524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6DFC #CBFC6D
analogous
#6D83FC #9E6DFC #E56DFC
triadic
#9E6DFC #FC9E6D #6DFC9E
tetradic
#9E6DFC #FC6D83 #CBFC6D #6DFCE5
square
#9E6DFC #FC6D83 #CBFC6D #6DFCE5
split-complementary
#9E6DFC #FCE56D #83FC6D
monochromatic
#5305EA #7631FB #9E6DFC #C6A9FD #EBE1FE

Accessibility & contrast

On white

3.47
#9E6DFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#9E6DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6DFC
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6DFC#FFFFFF#000000##000000
##9E6DFC1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F8AFF
Deuteranopia (green-blind)
#3588F9
Tritanopia (blue-blind)
#878BAA
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9e6dfc;
/* rgb */ color: rgb(158, 109, 252);
/* oklch */ color: oklch(65.3% 0.205 296.0);
Tailwind
colors: {
  custom: {
    50: '#c098fe',
    500: '#9e6dfc',
    950: '#000000',
  },
}
SCSS
$custom: #9e6dfc;
$custom-light: #c098fe;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6dfc",
  "rgb": {
    "r": 158,
    "g": 109,
    "b": 252
  },
  "hsl": {
    "h": 260.559,
    "s": 95.973,
    "l": 70.784
  },
  "oklch": {
    "l": 0.65281,
    "c": 0.2046,
    "h": 296
  },
  "luminance": 0.25235
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E6DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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