#9E7EF7#9E7EF7

#9E7EF7 is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.7% C 0.174 H 293.4°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9E7EF7
RGBrgb(158, 126, 247)
HSLhsl(256, 88%, 73%)
HSVhsv(256, 49%, 97%)
CMYKcmyk(36%, 49%, 0%, 3.1%)
CIE-LABlab(60.70, 38.86, -56.52)
CIE-LCHlch(60.70, 68.59, 304.51°)
OKLaboklab(67.7% 0.0691 -0.1597)
OKLCHoklch(67.7% 0.174 293.4)
XYZxyz(38.3455, 28.9054, 91.5367)
Luminance0.2891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7EF7 #D7F77E
analogous
#7E9AF7 #9E7EF7 #DB7EF7
triadic
#9E7EF7 #F79E7E #7EF79E
tetradic
#9E7EF7 #F77E9A #D7F77E #7EF7DB
square
#9E7EF7 #F77E9A #D7F77E #7EF7DB
split-complementary
#9E7EF7 #F7DB7E #9AF77E
monochromatic
#490FEC #7344F3 #9E7EF7 #C9B8FB #E9E2FD

Accessibility & contrast

On white

3.10
#9E7EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#9E7EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7EF7
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7EF7#FFFFFF#000000##000000
##9E7EF71.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5094FB
Deuteranopia (green-blind)
#5690F4
Tritanopia (blue-blind)
#8896AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9e7ef7;
/* rgb */ color: rgb(158, 126, 247);
/* oklch */ color: oklch(67.7% 0.174 293.4);
Tailwind
colors: {
  custom: {
    50: '#bea4fa',
    500: '#9e7ef7',
    950: '#000000',
  },
}
SCSS
$custom: #9e7ef7;
$custom-light: #bea4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7ef7",
  "rgb": {
    "r": 158,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 255.868,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67704,
    "c": 0.17405,
    "h": 293.4
  },
  "luminance": 0.28906
}

Semantic roles & 50–950 ramp

primary
#9E7EF7
secondary
#EDF5D6
accent
#E501A9
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9E7EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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