#9E7DFD#9E7DFD

#9E7DFD is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.9% C 0.183 H 292.7°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9E7DFD
RGBrgb(158, 125, 253)
HSLhsl(255, 97%, 74%)
HSVhsv(255, 51%, 99%)
CMYKcmyk(37.5%, 50.6%, 0%, 0.8%)
CIE-LABlab(60.81, 40.99, -59.65)
CIE-LCHlch(60.81, 72.38, 304.50°)
OKLaboklab(67.89% 0.0708 -0.1689)
OKLCHoklch(67.89% 0.183 292.7)
XYZxyz(39.1591, 29.0272, 96.4491)
Luminance0.2903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7DFD #DCFD7D
analogous
#7D9CFD #9E7DFD #DE7DFD
triadic
#9E7DFD #FD9E7D #7DFD9E
tetradic
#9E7DFD #FD7D9C #DCFD7D #7DFDDE
square
#9E7DFD #FD7D9C #DCFD7D #7DFDDE
split-complementary
#9E7DFD #FDDE7D #9CFD7D
monochromatic
#4404FB #7141FC #9E7DFD #CBB9FE #E9E1FF

Accessibility & contrast

On white

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

On black

6.81
#9E7DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7DFD
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7DFD#FFFFFF#000000##000000
##9E7DFD1.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4994FF
Deuteranopia (green-blind)
#4F90FA
Tritanopia (blue-blind)
#8697B1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9e7dfd;
/* rgb */ color: rgb(158, 125, 253);
/* oklch */ color: oklch(67.9% 0.183 292.7);
Tailwind
colors: {
  custom: {
    50: '#bfa3ff',
    500: '#9e7dfd',
    950: '#000000',
  },
}
SCSS
$custom: #9e7dfd;
$custom-light: #bfa3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7dfd",
  "rgb": {
    "r": 158,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 255.469,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.67892,
    "c": 0.18316,
    "h": 292.7
  },
  "luminance": 0.29028
}

Semantic roles & 50–950 ramp

primary
#9E7DFD
secondary
#EEF7D4
accent
#E600AA
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #9E7DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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