#9E5BE6#9E5BE6

#9E5BE6 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.2% C 0.204 H 303.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9E5BE6
RGBrgb(158, 91, 230)
HSLhsl(269, 74%, 63%)
HSVhsv(269, 60%, 90%)
CMYKcmyk(31.3%, 60.4%, 0%, 9.8%)
CIE-LABlab(52.36, 53.63, -60.41)
CIE-LCHlch(52.36, 80.78, 311.60°)
OKLaboklab(61.23% 0.1113 -0.1711)
OKLCHoklch(61.23% 0.204 303)
XYZxyz(32.1213, 20.4645, 77.1054)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5BE6 #A3E65B
analogous
#5B5DE6 #9E5BE6 #E45BE6
triadic
#9E5BE6 #E69E5B #5BE69E
tetradic
#9E5BE6 #E65B5D #A3E65B #5BE6E4
square
#9E5BE6 #E65B5D #A3E65B #5BE6E4
split-complementary
#9E5BE6 #E6E45B #5DE65B
monochromatic
#611AAC #7F26DE #9E5BE6 #BD90EE #DDC5F6

Accessibility & contrast

On white

4.12
#9E5BE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#9E5BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5BE6
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5BE6#FFFFFF#000000##000000
##9E5BE61.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEA
Deuteranopia (green-blind)
#357DE3
Tritanopia (blue-blind)
#907898
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9e5be6;
/* rgb */ color: rgb(158, 91, 230);
/* oklch */ color: oklch(61.2% 0.204 303.0);
Tailwind
colors: {
  custom: {
    50: '#bf8cef',
    500: '#9e5be6',
    950: '#000000',
  },
}
SCSS
$custom: #9e5be6;
$custom-light: #bf8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5be6",
  "rgb": {
    "r": 158,
    "g": 91,
    "b": 230
  },
  "hsl": {
    "h": 268.921,
    "s": 73.545,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61231,
    "c": 0.20415,
    "h": 303
  },
  "luminance": 0.20464
}

Semantic roles & 50–950 ramp

primary
#9E5BE6
secondary
#CFE7B5
accent
#D61076
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E5BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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