#9E5EED#9E5EED

#9E5EED is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.1% C 0.208 H 301.2°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9E5EED
RGBrgb(158, 94, 237)
HSLhsl(267, 80%, 65%)
HSVhsv(267, 60%, 93%)
CMYKcmyk(33.3%, 60.3%, 0%, 7.1%)
CIE-LABlab(53.37, 53.77, -62.70)
CIE-LCHlch(53.37, 82.60, 310.61°)
OKLaboklab(62.11% 0.1076 -0.1779)
OKLCHoklch(62.11% 0.208 301.2)
XYZxyz(33.3857, 21.3888, 82.4739)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5EED #ADED5E
analogous
#5E66ED #9E5EED #E55EED
triadic
#9E5EED #ED9E5E #5EED9E
tetradic
#9E5EED #ED5E66 #ADED5E #5EEDE5
square
#9E5EED #ED5E66 #ADED5E #5EEDE5
split-complementary
#9E5EED #EDE55E #66ED5E
monochromatic
#6015BC #7D27E7 #9E5EED #BF95F3 #E0CCF9

Accessibility & contrast

On white

3.98
#9E5EED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#9E5EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5EED
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5EED#FFFFFF#000000##000000
##9E5EED1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#2F7FEA
Tritanopia (blue-blind)
#8E7C9D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9e5eed;
/* rgb */ color: rgb(158, 94, 237);
/* oklch */ color: oklch(62.1% 0.208 301.2);
Tailwind
colors: {
  custom: {
    50: '#bf8ff4',
    500: '#9e5eed',
    950: '#000000',
  },
}
SCSS
$custom: #9e5eed;
$custom-light: #bf8ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5eed",
  "rgb": {
    "r": 158,
    "g": 94,
    "b": 237
  },
  "hsl": {
    "h": 266.853,
    "s": 79.888,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6211,
    "c": 0.20788,
    "h": 301.2
  },
  "luminance": 0.21389
}

Semantic roles & 50–950 ramp

primary
#9E5EED
secondary
#D6ECBB
accent
#DC097E
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130D17
muted
#827D85

Preview Lab

Preview with #9E5EED

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

Preview Lab → · Contrast checker → · Palette generator →

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