#9E5AED#9E5AED

#9E5AED is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.6% C 0.213 H 301.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9E5AED
RGBrgb(158, 90, 237)
HSLhsl(268, 80%, 64%)
HSVhsv(268, 62%, 93%)
CMYKcmyk(33.3%, 62%, 0%, 7.1%)
CIE-LABlab(52.61, 55.81, -63.93)
CIE-LCHlch(52.61, 84.86, 311.12°)
OKLaboklab(61.56% 0.1121 -0.1814)
OKLCHoklch(61.56% 0.213 301.7)
XYZxyz(33.0392, 20.6957, 82.3584)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5AED #A9ED5A
analogous
#5A60ED #9E5AED #E85AED
triadic
#9E5AED #ED9E5A #5AED9E
tetradic
#9E5AED #ED5A60 #A9ED5A #5AEDE8
square
#9E5AED #ED5A60 #A9ED5A #5AEDE8
split-complementary
#9E5AED #EDE85A #60ED5A
monochromatic
#6014B8 #7E23E7 #9E5AED #BE91F3 #DFC8F9

Accessibility & contrast

On white

4.09
#9E5AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#9E5AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5AED
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5AED#FFFFFF#000000##000000
##9E5AED1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF2
Deuteranopia (green-blind)
#277DEA
Tritanopia (blue-blind)
#8E7A9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e5aed;
/* rgb */ color: rgb(158, 90, 237);
/* oklch */ color: oklch(61.6% 0.213 301.7);
Tailwind
colors: {
  custom: {
    50: '#bf8cf4',
    500: '#9e5aed',
    950: '#000000',
  },
}
SCSS
$custom: #9e5aed;
$custom-light: #bf8cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5aed",
  "rgb": {
    "r": 158,
    "g": 90,
    "b": 237
  },
  "hsl": {
    "h": 267.755,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6156,
    "c": 0.21331,
    "h": 301.7
  },
  "luminance": 0.20696
}

Semantic roles & 50–950 ramp

primary
#9E5AED
secondary
#D3EBB8
accent
#DD097B
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E5AED

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

Preview Lab → · Contrast checker → · Palette generator →

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