#9E5DE7#9E5DE7

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

Color values

HEX#9E5DE7
RGBrgb(158, 93, 231)
HSLhsl(268, 74%, 64%)
HSVhsv(268, 60%, 91%)
CMYKcmyk(31.6%, 59.7%, 0%, 9.4%)
CIE-LABlab(52.80, 52.84, -60.25)
CIE-LCHlch(52.80, 80.14, 311.25°)
OKLaboklab(61.58% 0.109 -0.1707)
OKLCHoklch(61.58% 0.202 302.6)
XYZxyz(32.4354, 20.8673, 77.9048)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5DE7 #A6E75D
analogous
#5D61E7 #9E5DE7 #E35DE7
triadic
#9E5DE7 #E79E5D #5DE79E
tetradic
#9E5DE7 #E75D61 #A6E75D #5DE7E3
square
#9E5DE7 #E75D61 #A6E75D #5DE7E3
split-complementary
#9E5DE7 #E7E35D #61E75D
monochromatic
#601AB0 #7E28DF #9E5DE7 #BE92EF #DEC8F7

Accessibility & contrast

On white

4.06
#9E5DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#9E5DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5DE7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5DE7#FFFFFF#000000##000000
##9E5DE71.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C7DEB
Deuteranopia (green-blind)
#377EE4
Tritanopia (blue-blind)
#907A99
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e5de7;
/* rgb */ color: rgb(158, 93, 231);
/* oklch */ color: oklch(61.6% 0.202 302.6);
Tailwind
colors: {
  custom: {
    50: '#bf8eef',
    500: '#9e5de7',
    950: '#000000',
  },
}
SCSS
$custom: #9e5de7;
$custom-light: #bf8eef;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5de7",
  "rgb": {
    "r": 158,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 268.261,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61576,
    "c": 0.20249,
    "h": 302.6
  },
  "luminance": 0.20867
}

Semantic roles & 50–950 ramp

primary
#9E5DE7
secondary
#D1E8B7
accent
#D60F79
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E5DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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