#9E7AED#9E7AED

#9E7AED is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.4% C 0.167 H 296.0°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9E7AED
RGBrgb(158, 122, 237)
HSLhsl(259, 76%, 70%)
HSVhsv(259, 49%, 93%)
CMYKcmyk(33.3%, 48.5%, 0%, 7.1%)
CIE-LABlab(59.25, 38.54, -53.29)
CIE-LCHlch(59.25, 65.77, 305.88°)
OKLaboklab(66.45% 0.0732 -0.1503)
OKLCHoklch(66.45% 0.167 296)
XYZxyz(36.3423, 27.3020, 83.4595)
Luminance0.2730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7AED #C9ED7A
analogous
#7A8FED #9E7AED #D87AED
triadic
#9E7AED #ED9E7A #7AED9E
tetradic
#9E7AED #ED7A8F #C9ED7A #7AEDD8
square
#9E7AED #ED7A8F #C9ED7A #7AEDD8
split-complementary
#9E7AED #EDD87A #8FED7A
monochromatic
#551CD0 #7744E6 #9E7AED #C5B0F4 #EBE4FB

Accessibility & contrast

On white

3.25
#9E7AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#9E7AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7AED
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7AED#FFFFFF#000000##000000
##9E7AED1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#528FF1
Deuteranopia (green-blind)
#598DEA
Tritanopia (blue-blind)
#8C90A8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9e7aed;
/* rgb */ color: rgb(158, 122, 237);
/* oklch */ color: oklch(66.4% 0.167 296.0);
Tailwind
colors: {
  custom: {
    50: '#bea1f3',
    500: '#9e7aed',
    950: '#000000',
  },
}
SCSS
$custom: #9e7aed;
$custom-light: #bea1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7aed",
  "rgb": {
    "r": 158,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 258.783,
    "s": 76.159,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66449,
    "c": 0.16717,
    "h": 296
  },
  "luminance": 0.27303
}

Semantic roles & 50–950 ramp

primary
#9E7AED
secondary
#E7F1D2
accent
#D80D99
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120F17
muted
#817E85

Preview Lab

Preview with #9E7AED

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

Preview Lab → · Contrast checker → · Palette generator →

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