#9E5BEB#9E5BEB

#9E5BEB is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.6% C 0.210 H 302.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9E5BEB
RGBrgb(158, 91, 235)
HSLhsl(268, 78%, 64%)
HSVhsv(268, 61%, 92%)
CMYKcmyk(32.8%, 61.3%, 0%, 7.8%)
CIE-LABlab(52.67, 54.82, -62.71)
CIE-LCHlch(52.67, 83.29, 311.16°)
OKLaboklab(61.56% 0.1111 -0.1779)
OKLCHoklch(61.56% 0.21 302)
XYZxyz(32.8335, 20.7493, 80.8564)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5BEB #A8EB5B
analogous
#5B60EB #9E5BEB #E65BEB
triadic
#9E5BEB #EB9E5B #5BEB9E
tetradic
#9E5BEB #EB5B60 #A8EB5B #5BEBE6
square
#9E5BEB #EB5B60 #A8EB5B #5BEBE6
split-complementary
#9E5BEB #EBE65B #60EB5B
monochromatic
#6016B5 #7E24E4 #9E5BEB #BE92F2 #DFC8F8

Accessibility & contrast

On white

4.08
#9E5BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#9E5BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5BEB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5BEB#FFFFFF#000000##000000
##9E5BEB1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#2D7DE8
Tritanopia (blue-blind)
#8F7A9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e5beb;
/* rgb */ color: rgb(158, 91, 235);
/* oklch */ color: oklch(61.6% 0.210 302.0);
Tailwind
colors: {
  custom: {
    50: '#bf8df2',
    500: '#9e5beb',
    950: '#000000',
  },
}
SCSS
$custom: #9e5beb;
$custom-light: #bf8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5beb",
  "rgb": {
    "r": 158,
    "g": 91,
    "b": 235
  },
  "hsl": {
    "h": 267.917,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61562,
    "c": 0.20973,
    "h": 302
  },
  "luminance": 0.20749
}

Semantic roles & 50–950 ramp

primary
#9E5BEB
secondary
#D3EAB8
accent
#DB0B7A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E5BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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