#9E56DB#9E56DB

#9E56DB is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.8% C 0.199 H 306.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9E56DB
RGBrgb(158, 86, 219)
HSLhsl(272, 65%, 60%)
HSVhsv(272, 61%, 86%)
CMYKcmyk(27.9%, 60.7%, 0%, 14.1%)
CIE-LABlab(50.73, 53.59, -56.80)
CIE-LCHlch(50.73, 78.09, 313.33°)
OKLaboklab(59.83% 0.1176 -0.1605)
OKLCHoklch(59.83% 0.199 306.2)
XYZxyz(30.2118, 19.0394, 69.0875)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E56DB #93DB56
analogous
#5B56DB #9E56DB #DB56D6
triadic
#9E56DB #DB9E56 #56DB9E
tetradic
#9E56DB #DB5B56 #93DB56 #56D6DB
square
#9E56DB #DB5B56 #93DB56 #56D6DB
split-complementary
#9E56DB #D6DB56 #56DB5B
monochromatic
#602097 #802BC9 #9E56DB #BB88E6 #D8BBF0

Accessibility & contrast

On white

4.37
#9E56DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#9E56DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E56DB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E56DB#FFFFFF#000000##000000
##9E56DB1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F76DF
Deuteranopia (green-blind)
#3B79D8
Tritanopia (blue-blind)
#947191
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9e56db;
/* rgb */ color: rgb(158, 86, 219);
/* oklch */ color: oklch(59.8% 0.199 306.2);
Tailwind
colors: {
  custom: {
    50: '#be89e7',
    500: '#9e56db',
    950: '#000000',
  },
}
SCSS
$custom: #9e56db;
$custom-light: #be89e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e56db",
  "rgb": {
    "r": 158,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 272.481,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59832,
    "c": 0.19898,
    "h": 306.2
  },
  "luminance": 0.19039
}

Semantic roles & 50–950 ramp

primary
#9E56DB
secondary
#C4E0AD
accent
#E8408D
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E56DB

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

Preview Lab → · Contrast checker → · Palette generator →

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