#9E6DFB#9E6DFB

#9E6DFB is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.2% C 0.203 H 296.2°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9E6DFB
RGBrgb(158, 109, 251)
HSLhsl(261, 95%, 71%)
HSVhsv(261, 57%, 98%)
CMYKcmyk(37.1%, 56.6%, 0%, 1.6%)
CIE-LABlab(57.24, 49.31, -64.27)
CIE-LCHlch(57.24, 81.00, 307.50°)
OKLaboklab(65.22% 0.0898 -0.1825)
OKLCHoklch(65.22% 0.203 296.2)
XYZxyz(36.9773, 25.1708, 94.1583)
Luminance0.2517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6DFB #CAFB6D
analogous
#6D83FB #9E6DFB #E56DFB
triadic
#9E6DFB #FB9E6D #6DFB9E
tetradic
#9E6DFB #FB6D83 #CAFB6D #6DFBE5
square
#9E6DFB #FB6D83 #CAFB6D #6DFBE5
split-complementary
#9E6DFB #FBE56D #83FB6D
monochromatic
#5406E7 #7631F9 #9E6DFB #C6A9FD #EBE1FE

Accessibility & contrast

On white

3.48
#9E6DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#9E6DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6DFB
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6DFB#FFFFFF#000000##000000
##9E6DFB1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#218AFF
Deuteranopia (green-blind)
#3688F8
Tritanopia (blue-blind)
#888BAA
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9e6dfb;
/* rgb */ color: rgb(158, 109, 251);
/* oklch */ color: oklch(65.2% 0.203 296.2);
Tailwind
colors: {
  custom: {
    50: '#c098fd',
    500: '#9e6dfb',
    950: '#000000',
  },
}
SCSS
$custom: #9e6dfb;
$custom-light: #c098fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6dfb",
  "rgb": {
    "r": 158,
    "g": 109,
    "b": 251
  },
  "hsl": {
    "h": 260.704,
    "s": 94.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.65216,
    "c": 0.2034,
    "h": 296.2
  },
  "luminance": 0.25171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E6DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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