#9E5DED#9E5DED

#9E5DED is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 62.0% C 0.209 H 301.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9E5DED
RGBrgb(158, 93, 237)
HSLhsl(267, 80%, 65%)
HSVhsv(267, 61%, 93%)
CMYKcmyk(33.3%, 60.8%, 0%, 7.1%)
CIE-LABlab(53.18, 54.28, -63.01)
CIE-LCHlch(53.18, 83.17, 310.74°)
OKLaboklab(61.97% 0.1087 -0.1788)
OKLCHoklch(61.97% 0.209 301.3)
XYZxyz(33.2973, 21.2121, 82.4445)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5DED #ACED5D
analogous
#5D64ED #9E5DED #E65DED
triadic
#9E5DED #ED9E5D #5DED9E
tetradic
#9E5DED #ED5D64 #ACED5D #5DEDE6
square
#9E5DED #ED5D64 #ACED5D #5DEDE6
split-complementary
#9E5DED #EDE65D #64ED5D
monochromatic
#6015BB #7D26E7 #9E5DED #BF94F3 #E0CBF9

Accessibility & contrast

On white

4.01
#9E5DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#9E5DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5DED
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5DED#FFFFFF#000000##000000
##9E5DED1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF2
Deuteranopia (green-blind)
#2D7EEA
Tritanopia (blue-blind)
#8E7C9C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9e5ded;
/* rgb */ color: rgb(158, 93, 237);
/* oklch */ color: oklch(62.0% 0.209 301.3);
Tailwind
colors: {
  custom: {
    50: '#bf8ef4',
    500: '#9e5ded',
    950: '#000000',
  },
}
SCSS
$custom: #9e5ded;
$custom-light: #bf8ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5ded",
  "rgb": {
    "r": 158,
    "g": 93,
    "b": 237
  },
  "hsl": {
    "h": 267.083,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6197,
    "c": 0.20925,
    "h": 301.3
  },
  "luminance": 0.21212
}

Semantic roles & 50–950 ramp

primary
#9E5DED
secondary
#D5ECBA
accent
#DC097D
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E5DED

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

Preview Lab → · Contrast checker → · Palette generator →

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