#9E6FEF#9E6FEF

#9E6FEF is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.8% C 0.186 H 298.0°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9E6FEF
RGBrgb(158, 111, 239)
HSLhsl(262, 80%, 69%)
HSVhsv(262, 54%, 94%)
CMYKcmyk(33.9%, 53.6%, 0%, 6.3%)
CIE-LABlab(56.95, 45.18, -58.08)
CIE-LCHlch(56.95, 73.58, 307.88°)
OKLaboklab(64.77% 0.0872 -0.1643)
OKLCHoklch(64.77% 0.186 298)
XYZxyz(35.3611, 24.8695, 84.5819)
Luminance0.2487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6FEF #C0EF6F
analogous
#6F80EF #9E6FEF #DE6FEF
triadic
#9E6FEF #EF9E6F #6FEF9E
tetradic
#9E6FEF #EF6F80 #C0EF6F #6FEFDE
square
#9E6FEF #EF6F80 #C0EF6F #6FEFDE
split-complementary
#9E6FEF #EFDE6F #80EF6F
monochromatic
#5A17CD #7938E9 #9E6FEF #C3A6F5 #E8DDFB

Accessibility & contrast

On white

3.52
#9E6FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#9E6FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6FEF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6FEF#FFFFFF#000000##000000
##9E6FEF1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A89F3
Deuteranopia (green-blind)
#4887EC
Tritanopia (blue-blind)
#8C89A5
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9e6fef;
/* rgb */ color: rgb(158, 111, 239);
/* oklch */ color: oklch(64.8% 0.186 298.0);
Tailwind
colors: {
  custom: {
    50: '#bf9af5',
    500: '#9e6fef',
    950: '#000000',
  },
}
SCSS
$custom: #9e6fef;
$custom-light: #bf9af5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6fef",
  "rgb": {
    "r": 158,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 262.031,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.64771,
    "c": 0.18603,
    "h": 298
  },
  "luminance": 0.2487
}

Semantic roles & 50–950 ramp

primary
#9E6FEF
secondary
#E2F0CA
accent
#DC098F
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #9E6FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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