#9E56DD#9E56DD

#9E56DD is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.0% C 0.201 H 305.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9E56DD
RGBrgb(158, 86, 221)
HSLhsl(272, 67%, 60%)
HSVhsv(272, 61%, 87%)
CMYKcmyk(28.5%, 61.1%, 0%, 13.3%)
CIE-LABlab(50.86, 54.05, -57.74)
CIE-LCHlch(50.86, 79.09, 313.11°)
OKLaboklab(59.96% 0.1175 -0.1633)
OKLCHoklch(59.96% 0.201 305.7)
XYZxyz(30.4767, 19.1454, 70.4825)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E56DD #95DD56
analogous
#5B56DD #9E56DD #DD56D8
triadic
#9E56DD #DD9E56 #56DD9E
tetradic
#9E56DD #DD5B56 #95DD56 #56D8DD
square
#9E56DD #DD5B56 #95DD56 #56D8DD
split-complementary
#9E56DD #D8DD56 #56DD5B
monochromatic
#601F9A #8029CD #9E56DD #BB89E7 #D8BCF2

Accessibility & contrast

On white

4.35
#9E56DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#9E56DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E56DD
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E56DD#FFFFFF#000000##000000
##9E56DD1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0677E1
Deuteranopia (green-blind)
#3979DA
Tritanopia (blue-blind)
#937192
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9e56dd;
/* rgb */ color: rgb(158, 86, 221);
/* oklch */ color: oklch(60.0% 0.201 305.7);
Tailwind
colors: {
  custom: {
    50: '#bf89e8',
    500: '#9e56dd',
    950: '#000000',
  },
}
SCSS
$custom: #9e56dd;
$custom-light: #bf89e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e56dd",
  "rgb": {
    "r": 158,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 272,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59961,
    "c": 0.20117,
    "h": 305.7
  },
  "luminance": 0.19145
}

Semantic roles & 50–950 ramp

primary
#9E56DD
secondary
#C6E1AE
accent
#CE176D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E56DD

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

Preview Lab → · Contrast checker → · Palette generator →

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