#9E56CD#9E56CD

#9E56CD is a mid, vivid violet. Relative luminance 0.183; OKLCH L 59.0% C 0.184 H 309.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9E56CD
RGBrgb(158, 86, 205)
HSLhsl(276, 54%, 57%)
HSVhsv(276, 58%, 80%)
CMYKcmyk(22.9%, 58%, 0%, 19.6%)
CIE-LABlab(49.90, 50.41, -50.16)
CIE-LCHlch(49.90, 71.11, 315.14°)
OKLaboklab(58.95% 0.1177 -0.141)
OKLCHoklch(58.95% 0.184 309.8)
XYZxyz(28.4457, 18.3330, 59.7859)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E56CD #85CD56
analogous
#6356CD #9E56CD #CD56C0
triadic
#9E56CD #CD9E56 #56CD9E
tetradic
#9E56CD #CD6356 #85CD56 #56C0CD
square
#9E56CD #CD6356 #85CD56 #56C0CD
split-complementary
#9E56CD #C0CD56 #56CD63
monochromatic
#5E2682 #8034B1 #9E56CD #B985DB #D4B4E9

Accessibility & contrast

On white

4.50
#9E56CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#9E56CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E56CD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E56CD#FFFFFF#000000##000000
##9E56CD1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C73D1
Deuteranopia (green-blind)
#4978CA
Tritanopia (blue-blind)
#986C89
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9e56cd;
/* rgb */ color: rgb(158, 86, 205);
/* oklch */ color: oklch(59.0% 0.184 309.8);
Tailwind
colors: {
  custom: {
    50: '#be89dd',
    500: '#9e56cd',
    950: '#000000',
  },
}
SCSS
$custom: #9e56cd;
$custom-light: #be89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e56cd",
  "rgb": {
    "r": 158,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 276.303,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58954,
    "c": 0.18368,
    "h": 309.8
  },
  "luminance": 0.18332
}

Semantic roles & 50–950 ramp

primary
#9E56CD
secondary
#BAD8A7
accent
#DE4A84
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9E56CD

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

Preview Lab → · Contrast checker → · Palette generator →

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