#9E56CC#9E56CC

#9E56CC is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.9% C 0.183 H 310.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9E56CC
RGBrgb(158, 86, 204)
HSLhsl(277, 54%, 57%)
HSVhsv(277, 58%, 80%)
CMYKcmyk(22.5%, 57.8%, 0%, 20%)
CIE-LABlab(49.84, 50.18, -49.68)
CIE-LCHlch(49.84, 70.61, 315.29°)
OKLaboklab(58.89% 0.1177 -0.1396)
OKLCHoklch(58.89% 0.183 310.1)
XYZxyz(28.3254, 18.2848, 59.1522)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E56CC #84CC56
analogous
#6356CC #9E56CC #CC56BF
triadic
#9E56CC #CC9E56 #56CC9E
tetradic
#9E56CC #CC6356 #84CC56 #56BFCC
square
#9E56CC #CC6356 #84CC56 #56BFCC
split-complementary
#9E56CC #BFCC56 #56CC63
monochromatic
#5E2781 #8035B0 #9E56CC #B985DA #D4B4E8

Accessibility & contrast

On white

4.51
#9E56CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9E56CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E56CC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E56CC#FFFFFF#000000##000000
##9E56CC1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D73D0
Deuteranopia (green-blind)
#4A78C9
Tritanopia (blue-blind)
#986C89
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9e56cc;
/* rgb */ color: rgb(158, 86, 204);
/* oklch */ color: oklch(58.9% 0.183 310.1);
Tailwind
colors: {
  custom: {
    50: '#be89dc',
    500: '#9e56cc',
    950: '#000000',
  },
}
SCSS
$custom: #9e56cc;
$custom-light: #be89dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e56cc",
  "rgb": {
    "r": 158,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 276.61,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58894,
    "c": 0.18259,
    "h": 310.1
  },
  "luminance": 0.18284
}

Semantic roles & 50–950 ramp

primary
#9E56CC
secondary
#BAD7A7
accent
#DD4B84
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9E56CC

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

Preview Lab → · Contrast checker → · Palette generator →

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