#9E5BDB#9E5BDB

#9E5BDB is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.5% C 0.192 H 305.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9E5BDB
RGBrgb(158, 91, 219)
HSLhsl(271, 64%, 61%)
HSVhsv(271, 58%, 86%)
CMYKcmyk(27.9%, 58.4%, 0%, 14.1%)
CIE-LABlab(51.69, 51.03, -55.28)
CIE-LCHlch(51.69, 75.23, 312.71°)
OKLaboklab(60.53% 0.1115 -0.1561)
OKLCHoklch(60.53% 0.192 305.6)
XYZxyz(30.6251, 19.8660, 69.2252)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5BDB #98DB5B
analogous
#5E5BDB #9E5BDB #DB5BD8
triadic
#9E5BDB #DB9E5B #5BDB9E
tetradic
#9E5BDB #DB5E5B #98DB5B #5BD8DB
square
#9E5BDB #DB5E5B #98DB5B #5BD8DB
split-complementary
#9E5BDB #D8DB5B #5BDB5E
monochromatic
#61229A #802DCC #9E5BDB #BC8DE6 #D9BFF1

Accessibility & contrast

On white

4.22
#9E5BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#9E5BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5BDB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5BDB#FFFFFF#000000##000000
##9E5BDB1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2379DF
Deuteranopia (green-blind)
#427BD8
Tritanopia (blue-blind)
#947492
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9e5bdb;
/* rgb */ color: rgb(158, 91, 219);
/* oklch */ color: oklch(60.5% 0.192 305.6);
Tailwind
colors: {
  custom: {
    50: '#be8ce7',
    500: '#9e5bdb',
    950: '#000000',
  },
}
SCSS
$custom: #9e5bdb;
$custom-light: #be8ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5bdb",
  "rgb": {
    "r": 158,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 271.406,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60525,
    "c": 0.19182,
    "h": 305.6
  },
  "luminance": 0.19866
}

Semantic roles & 50–950 ramp

primary
#9E5BDB
secondary
#C8E1B1
accent
#CC1A6F
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9E5BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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