#9E6EFB#9E6EFB

#9E6EFB is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.4% C 0.202 H 296.0°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9E6EFB
RGBrgb(158, 110, 251)
HSLhsl(260, 95%, 71%)
HSVhsv(260, 56%, 98%)
CMYKcmyk(37.1%, 56.2%, 0%, 1.6%)
CIE-LABlab(57.45, 48.77, -63.93)
CIE-LCHlch(57.45, 80.41, 307.34°)
OKLaboklab(65.37% 0.0887 -0.1815)
OKLCHoklch(65.37% 0.202 296)
XYZxyz(37.0846, 25.3853, 94.1941)
Luminance0.2539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6EFB #CBFB6E
analogous
#6E84FB #9E6EFB #E56EFB
triadic
#9E6EFB #FB9E6E #6EFB9E
tetradic
#9E6EFB #FB6E84 #CBFB6E #6EFBE5
square
#9E6EFB #FB6E84 #CBFB6E #6EFBE5
split-complementary
#9E6EFB #FBE56E #84FB6E
monochromatic
#5306E8 #7632F9 #9E6EFB #C6AAFD #EBE1FE

Accessibility & contrast

On white

3.46
#9E6EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#9E6EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6EFB
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6EFB#FFFFFF#000000##000000
##9E6EFB1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#258BFF
Deuteranopia (green-blind)
#3888F8
Tritanopia (blue-blind)
#888CAA
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9e6efb;
/* rgb */ color: rgb(158, 110, 251);
/* oklch */ color: oklch(65.4% 0.202 296.0);
Tailwind
colors: {
  custom: {
    50: '#c099fd',
    500: '#9e6efb',
    950: '#000000',
  },
}
SCSS
$custom: #9e6efb;
$custom-light: #c099fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6efb",
  "rgb": {
    "r": 158,
    "g": 110,
    "b": 251
  },
  "hsl": {
    "h": 260.426,
    "s": 94.631,
    "l": 70.784
  },
  "oklch": {
    "l": 0.65369,
    "c": 0.202,
    "h": 296
  },
  "luminance": 0.25386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E6EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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