#9E7EFE#9E7EFE

#9E7EFE is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.1% C 0.183 H 292.4°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9E7EFE
RGBrgb(158, 126, 254)
HSLhsl(255, 98%, 75%)
HSVhsv(255, 50%, 100%)
CMYKcmyk(37.8%, 50.4%, 0%, 0.4%)
CIE-LABlab(61.09, 40.69, -59.76)
CIE-LCHlch(61.09, 72.30, 304.25°)
OKLaboklab(68.12% 0.0697 -0.1692)
OKLCHoklch(68.12% 0.183 292.4)
XYZxyz(39.4460, 29.3456, 97.3327)
Luminance0.2935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7EFE #DEFE7E
analogous
#7E9EFE #9E7EFE #DE7EFE
triadic
#9E7EFE #FE9E7E #7EFE9E
tetradic
#9E7EFE #FE7E9E #DEFE7E #7EFEDE
square
#9E7EFE #FE7E9E #DEFE7E #7EFEDE
split-complementary
#9E7EFE #FEDE7E #9EFE7E
monochromatic
#4305FD #7041FE #9E7EFE #CCBBFE #E8E1FF

Accessibility & contrast

On white

3.06
#9E7EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#9E7EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7EFE
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7EFE#FFFFFF#000000##000000
##9E7EFE1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#5091FB
Tritanopia (blue-blind)
#8598B2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9e7efe;
/* rgb */ color: rgb(158, 126, 254);
/* oklch */ color: oklch(68.1% 0.183 292.4);
Tailwind
colors: {
  custom: {
    50: '#bfa4ff',
    500: '#9e7efe',
    950: '#000000',
  },
}
SCSS
$custom: #9e7efe;
$custom-light: #bfa4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7efe",
  "rgb": {
    "r": 158,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 255,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.68119,
    "c": 0.183,
    "h": 292.4
  },
  "luminance": 0.29347
}

Semantic roles & 50–950 ramp

primary
#9E7EFE
secondary
#EEF7D4
accent
#E600AC
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #9E7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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