#9E7DF7#9E7DF7

#9E7DF7 is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.5% C 0.176 H 293.6°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9E7DF7
RGBrgb(158, 125, 247)
HSLhsl(256, 88%, 73%)
HSVhsv(256, 49%, 97%)
CMYKcmyk(36%, 49.4%, 0%, 3.1%)
CIE-LABlab(60.47, 39.42, -56.88)
CIE-LCHlch(60.47, 69.21, 304.73°)
OKLaboklab(67.54% 0.0703 -0.1608)
OKLCHoklch(67.54% 0.176 293.6)
XYZxyz(38.2183, 28.6509, 91.4942)
Luminance0.2865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7DF7 #D6F77D
analogous
#7D99F7 #9E7DF7 #DB7DF7
triadic
#9E7DF7 #F79E7D #7DF79E
tetradic
#9E7DF7 #F77D99 #D6F77D #7DF7DB
square
#9E7DF7 #F77D99 #D6F77D #7DF7DB
split-complementary
#9E7DF7 #F7DB7D #99F77D
monochromatic
#4A0EEB #7343F3 #9E7DF7 #C9B7FB #E9E2FD

Accessibility & contrast

On white

3.12
#9E7DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#9E7DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7DF7
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7DF7#FFFFFF#000000##000000
##9E7DF71.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F93FB
Deuteranopia (green-blind)
#5590F4
Tritanopia (blue-blind)
#8895AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9e7df7;
/* rgb */ color: rgb(158, 125, 247);
/* oklch */ color: oklch(67.5% 0.176 293.6);
Tailwind
colors: {
  custom: {
    50: '#bea3fa',
    500: '#9e7df7',
    950: '#000000',
  },
}
SCSS
$custom: #9e7df7;
$custom-light: #bea3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7df7",
  "rgb": {
    "r": 158,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 256.23,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67536,
    "c": 0.17551,
    "h": 293.6
  },
  "luminance": 0.28652
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E7DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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