#9E5BDA#9E5BDA

#9E5BDA is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.5% C 0.191 H 305.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9E5BDA
RGBrgb(158, 91, 218)
HSLhsl(272, 63%, 61%)
HSVhsv(272, 58%, 85%)
CMYKcmyk(27.5%, 58.3%, 0%, 14.5%)
CIE-LABlab(51.63, 50.80, -54.80)
CIE-LCHlch(51.63, 74.73, 312.83°)
OKLaboklab(60.46% 0.1115 -0.1547)
OKLCHoklch(60.46% 0.191 305.8)
XYZxyz(30.4938, 19.8135, 68.5340)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5BDA #97DA5B
analogous
#5F5BDA #9E5BDA #DA5BD6
triadic
#9E5BDA #DA9E5B #5BDA9E
tetradic
#9E5BDA #DA5F5B #97DA5B #5BD6DA
square
#9E5BDA #DA5F5B #97DA5B #5BD6DA
split-complementary
#9E5BDA #D6DA5B #5BDA5F
monochromatic
#612298 #802ECA #9E5BDA #BC8DE5 #D9BFF1

Accessibility & contrast

On white

4.23
#9E5BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#9E5BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5BDA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5BDA#FFFFFF#000000##000000
##9E5BDA1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2579DE
Deuteranopia (green-blind)
#437BD7
Tritanopia (blue-blind)
#947492
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9e5bda;
/* rgb */ color: rgb(158, 91, 218);
/* oklch */ color: oklch(60.5% 0.191 305.8);
Tailwind
colors: {
  custom: {
    50: '#be8ce6',
    500: '#9e5bda',
    950: '#000000',
  },
}
SCSS
$custom: #9e5bda;
$custom-light: #be8ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5bda",
  "rgb": {
    "r": 158,
    "g": 91,
    "b": 218
  },
  "hsl": {
    "h": 271.654,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60463,
    "c": 0.1907,
    "h": 305.8
  },
  "luminance": 0.19813
}

Semantic roles & 50–950 ramp

primary
#9E5BDA
secondary
#C7E1B0
accent
#CB1B6E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9E5BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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