#9E5DE8#9E5DE8

#9E5DE8 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.6% C 0.204 H 302.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9E5DE8
RGBrgb(158, 93, 232)
HSLhsl(268, 75%, 64%)
HSVhsv(268, 60%, 91%)
CMYKcmyk(31.9%, 59.9%, 0%, 9%)
CIE-LABlab(52.87, 53.08, -60.72)
CIE-LCHlch(52.87, 80.64, 311.16°)
OKLaboklab(61.64% 0.1089 -0.172)
OKLCHoklch(61.64% 0.204 302.3)
XYZxyz(32.5770, 20.9239, 78.6508)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5DE8 #A7E85D
analogous
#5D61E8 #9E5DE8 #E45DE8
triadic
#9E5DE8 #E89E5D #5DE89E
tetradic
#9E5DE8 #E85D61 #A7E85D #5DE8E4
square
#9E5DE8 #E85D61 #A7E85D #5DE8E4
split-complementary
#9E5DE8 #E8E45D #61E85D
monochromatic
#6019B1 #7E27E0 #9E5DE8 #BE93F0 #DEC8F7

Accessibility & contrast

On white

4.05
#9E5DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#9E5DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5DE8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5DE8#FFFFFF#000000##000000
##9E5DE81.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#067DEC
Deuteranopia (green-blind)
#357EE5
Tritanopia (blue-blind)
#8F7A9A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e5de8;
/* rgb */ color: rgb(158, 93, 232);
/* oklch */ color: oklch(61.6% 0.204 302.3);
Tailwind
colors: {
  custom: {
    50: '#bf8ef0',
    500: '#9e5de8',
    950: '#000000',
  },
}
SCSS
$custom: #9e5de8;
$custom-light: #bf8ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5de8",
  "rgb": {
    "r": 158,
    "g": 93,
    "b": 232
  },
  "hsl": {
    "h": 268.058,
    "s": 75.135,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61641,
    "c": 0.20361,
    "h": 302.3
  },
  "luminance": 0.20924
}

Semantic roles & 50–950 ramp

primary
#9E5DE8
secondary
#D2E9B8
accent
#D70E79
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E5DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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