#9E7FF7#9E7FF7

#9E7FF7 is a light, vivid violet. Relative luminance 0.292; OKLCH L 67.9% C 0.173 H 293.1°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9E7FF7
RGBrgb(158, 127, 247)
HSLhsl(256, 88%, 73%)
HSVhsv(256, 49%, 97%)
CMYKcmyk(36%, 48.6%, 0%, 3.1%)
CIE-LABlab(60.92, 38.30, -56.16)
CIE-LCHlch(60.92, 67.97, 304.29°)
OKLaboklab(67.87% 0.0678 -0.1587)
OKLCHoklch(67.87% 0.173 293.1)
XYZxyz(38.4740, 29.1624, 91.5795)
Luminance0.2916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7FF7 #D8F77F
analogous
#7F9CF7 #9E7FF7 #DA7FF7
triadic
#9E7FF7 #F79E7F #7FF79E
tetradic
#9E7FF7 #F77F9C #D8F77F #7FF7DA
square
#9E7FF7 #F77F9C #D8F77F #7FF7DA
split-complementary
#9E7FF7 #F7DA7F #9CF77F
monochromatic
#480FED #7245F3 #9E7FF7 #CAB9FB #E9E2FD

Accessibility & contrast

On white

3.07
#9E7FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#9E7FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7FF7
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7FF7#FFFFFF#000000##000000
##9E7FF71.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5294FB
Deuteranopia (green-blind)
#5791F4
Tritanopia (blue-blind)
#8897AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9e7ff7;
/* rgb */ color: rgb(158, 127, 247);
/* oklch */ color: oklch(67.9% 0.173 293.1);
Tailwind
colors: {
  custom: {
    50: '#bea4fa',
    500: '#9e7ff7',
    950: '#000000',
  },
}
SCSS
$custom: #9e7ff7;
$custom-light: #bea4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7ff7",
  "rgb": {
    "r": 158,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 255.5,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67874,
    "c": 0.17258,
    "h": 293.1
  },
  "luminance": 0.29163
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E7FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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