#9E7EF8#9E7EF8

#9E7EF8 is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.8% C 0.175 H 293.2°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9E7EF8
RGBrgb(158, 126, 248)
HSLhsl(256, 90%, 73%)
HSVhsv(256, 49%, 97%)
CMYKcmyk(36.3%, 49.2%, 0%, 2.7%)
CIE-LABlab(60.75, 39.12, -56.99)
CIE-LCHlch(60.75, 69.12, 304.47°)
OKLaboklab(67.76% 0.0692 -0.1611)
OKLCHoklch(67.76% 0.175 293.2)
XYZxyz(38.5002, 28.9673, 92.3515)
Luminance0.2897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7EF8 #D8F87E
analogous
#7E9BF8 #9E7EF8 #DB7EF8
triadic
#9E7EF8 #F89E7E #7EF89E
tetradic
#9E7EF8 #F87E9B #D8F87E #7EF8DB
square
#9E7EF8 #F87E9B #D8F87E #7EF8DB
split-complementary
#9E7EF8 #F8DB7E #9BF87E
monochromatic
#480DEF #7244F5 #9E7EF8 #CAB8FB #E9E2FD

Accessibility & contrast

On white

3.09
#9E7EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#9E7EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7EF8
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7EF8#FFFFFF#000000##000000
##9E7EF81.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5094FC
Deuteranopia (green-blind)
#5590F5
Tritanopia (blue-blind)
#8896AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9e7ef8;
/* rgb */ color: rgb(158, 126, 248);
/* oklch */ color: oklch(67.8% 0.175 293.2);
Tailwind
colors: {
  custom: {
    50: '#bfa4fb',
    500: '#9e7ef8',
    950: '#000000',
  },
}
SCSS
$custom: #9e7ef8;
$custom-light: #bfa4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7ef8",
  "rgb": {
    "r": 158,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 255.738,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67763,
    "c": 0.17533,
    "h": 293.2
  },
  "luminance": 0.28968
}

Semantic roles & 50–950 ramp

primary
#9E7EF8
secondary
#EDF6D5
accent
#E600A9
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9E7EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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