#9E5BE2#9E5BE2

#9E5BE2 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 61.0% C 0.200 H 303.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9E5BE2
RGBrgb(158, 91, 226)
HSLhsl(270, 70%, 62%)
HSVhsv(270, 60%, 89%)
CMYKcmyk(30.1%, 59.7%, 0%, 11.4%)
CIE-LABlab(52.11, 52.68, -58.55)
CIE-LCHlch(52.11, 78.76, 311.98°)
OKLaboklab(60.97% 0.1115 -0.1657)
OKLCHoklch(60.97% 0.2 303.9)
XYZxyz(31.5660, 20.2423, 74.1810)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5BE2 #9FE25B
analogous
#5B5CE2 #9E5BE2 #E25BE2
triadic
#9E5BE2 #E29E5B #5BE29E
tetradic
#9E5BE2 #E25B5C #9FE25B #5BE2E2
square
#9E5BE2 #E25B5C #9FE25B #5BE2E2
split-complementary
#9E5BE2 #E2E25B #5CE25B
monochromatic
#611DA5 #7F27D9 #9E5BE2 #BD8FEB #DCC3F4

Accessibility & contrast

On white

4.16
#9E5BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#9E5BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5BE2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5BE2#FFFFFF#000000##000000
##9E5BE21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#137BE6
Deuteranopia (green-blind)
#3A7CDF
Tritanopia (blue-blind)
#917796
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9e5be2;
/* rgb */ color: rgb(158, 91, 226);
/* oklch */ color: oklch(61.0% 0.200 303.9);
Tailwind
colors: {
  custom: {
    50: '#bf8cec',
    500: '#9e5be2',
    950: '#000000',
  },
}
SCSS
$custom: #9e5be2;
$custom-light: #bf8cec;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5be2",
  "rgb": {
    "r": 158,
    "g": 91,
    "b": 226
  },
  "hsl": {
    "h": 269.778,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60971,
    "c": 0.19968,
    "h": 303.9
  },
  "luminance": 0.20242
}

Semantic roles & 50–950 ramp

primary
#9E5BE2
secondary
#CDE5B4
accent
#D21473
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E5BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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