#9E5BE5#9E5BE5

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

Color values

HEX#9E5BE5
RGBrgb(158, 91, 229)
HSLhsl(269, 73%, 63%)
HSVhsv(269, 60%, 90%)
CMYKcmyk(31%, 60.3%, 0%, 10.2%)
CIE-LABlab(52.30, 53.39, -59.95)
CIE-LCHlch(52.30, 80.27, 311.69°)
OKLaboklab(61.17% 0.1114 -0.1698)
OKLCHoklch(61.17% 0.203 303.3)
XYZxyz(31.9813, 20.4084, 76.3679)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5BE5 #A2E55B
analogous
#5B5DE5 #9E5BE5 #E35BE5
triadic
#9E5BE5 #E59E5B #5BE59E
tetradic
#9E5BE5 #E55B5D #A2E55B #5BE5E3
square
#9E5BE5 #E55B5D #A2E55B #5BE5E3
split-complementary
#9E5BE5 #E5E35B #5DE55B
monochromatic
#611BAB #7F26DD #9E5BE5 #BD90ED #DCC5F6

Accessibility & contrast

On white

4.13
#9E5BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#9E5BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5BE5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5BE5#FFFFFF#000000##000000
##9E5BE51.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#057BE9
Deuteranopia (green-blind)
#367CE2
Tritanopia (blue-blind)
#917898
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9e5be5;
/* rgb */ color: rgb(158, 91, 229);
/* oklch */ color: oklch(61.2% 0.203 303.3);
Tailwind
colors: {
  custom: {
    50: '#bf8cee',
    500: '#9e5be5',
    950: '#000000',
  },
}
SCSS
$custom: #9e5be5;
$custom-light: #bf8cee;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5be5",
  "rgb": {
    "r": 158,
    "g": 91,
    "b": 229
  },
  "hsl": {
    "h": 269.13,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61166,
    "c": 0.20303,
    "h": 303.3
  },
  "luminance": 0.20408
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E5BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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