#9E7FF6#9E7FF6

#9E7FF6 is a light, vivid violet. Relative luminance 0.291; OKLCH L 67.8% C 0.171 H 293.3°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9E7FF6
RGBrgb(158, 127, 246)
HSLhsl(256, 87%, 73%)
HSVhsv(256, 48%, 96%)
CMYKcmyk(35.8%, 48.4%, 0%, 3.5%)
CIE-LABlab(60.87, 38.04, -55.69)
CIE-LCHlch(60.87, 67.44, 304.33°)
OKLaboklab(67.82% 0.0677 -0.1573)
OKLCHoklch(67.82% 0.171 293.3)
XYZxyz(38.3201, 29.1008, 90.7690)
Luminance0.2910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7FF6 #D7F67F
analogous
#7F9BF6 #9E7FF6 #D97FF6
triadic
#9E7FF6 #F69E7F #7FF69E
tetradic
#9E7FF6 #F67F9B #D7F67F #7FF6D9
square
#9E7FF6 #F67F9B #D7F67F #7FF6D9
split-complementary
#9E7FF6 #F6D97F #9BF67F
monochromatic
#4910EA #7346F2 #9E7FF6 #C9B8FA #E9E2FD

Accessibility & contrast

On white

3.08
#9E7FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#9E7FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7FF6
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7FF6#FFFFFF#000000##000000
##9E7FF61.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5394FA
Deuteranopia (green-blind)
#5891F3
Tritanopia (blue-blind)
#8996AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9e7ff6;
/* rgb */ color: rgb(158, 127, 246);
/* oklch */ color: oklch(67.8% 0.171 293.3);
Tailwind
colors: {
  custom: {
    50: '#bea4fa',
    500: '#9e7ff6',
    950: '#000000',
  },
}
SCSS
$custom: #9e7ff6;
$custom-light: #bea4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7ff6",
  "rgb": {
    "r": 158,
    "g": 127,
    "b": 246
  },
  "hsl": {
    "h": 255.63,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67816,
    "c": 0.17128,
    "h": 293.3
  },
  "luminance": 0.29102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E7FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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