#9E5BE7#9E5BE7

#9E5BE7 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.3% C 0.205 H 302.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9E5BE7
RGBrgb(158, 91, 231)
HSLhsl(269, 74%, 63%)
HSVhsv(269, 61%, 91%)
CMYKcmyk(31.6%, 60.6%, 0%, 9.4%)
CIE-LABlab(52.42, 53.86, -60.87)
CIE-LCHlch(52.42, 81.28, 311.51°)
OKLaboklab(61.3% 0.1113 -0.1725)
OKLCHoklch(61.3% 0.205 302.8)
XYZxyz(32.2621, 20.5208, 77.8471)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5BE7 #A4E75B
analogous
#5B5EE7 #9E5BE7 #E45BE7
triadic
#9E5BE7 #E79E5B #5BE79E
tetradic
#9E5BE7 #E75B5E #A4E75B #5BE7E4
square
#9E5BE7 #E75B5E #A4E75B #5BE7E4
split-complementary
#9E5BE7 #E7E45B #5EE75B
monochromatic
#6119AE #7E26DF #9E5BE7 #BE90EF #DDC6F7

Accessibility & contrast

On white

4.11
#9E5BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#9E5BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5BE7
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5BE7#FFFFFF#000000##000000
##9E5BE71.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEB
Deuteranopia (green-blind)
#337DE4
Tritanopia (blue-blind)
#907899
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9e5be7;
/* rgb */ color: rgb(158, 91, 231);
/* oklch */ color: oklch(61.3% 0.205 302.8);
Tailwind
colors: {
  custom: {
    50: '#bf8def',
    500: '#9e5be7',
    950: '#000000',
  },
}
SCSS
$custom: #9e5be7;
$custom-light: #bf8def;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5be7",
  "rgb": {
    "r": 158,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 268.714,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61297,
    "c": 0.20527,
    "h": 302.8
  },
  "luminance": 0.20521
}

Semantic roles & 50–950 ramp

primary
#9E5BE7
secondary
#D0E8B6
accent
#D70F77
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E5BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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