#9D56CE#9D56CE

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

Color values

HEX#9D56CE
RGBrgb(157, 86, 206)
HSLhsl(276, 55%, 57%)
HSVhsv(276, 58%, 81%)
CMYKcmyk(23.8%, 58.3%, 0%, 19.2%)
CIE-LABlab(49.83, 50.39, -50.84)
CIE-LCHlch(49.83, 71.58, 314.74°)
OKLaboklab(58.9% 0.1164 -0.1431)
OKLCHoklch(58.9% 0.184 309.1)
XYZxyz(28.3708, 18.2804, 60.4144)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D56CE #87CE56
analogous
#6156CE #9D56CE #CE56C3
triadic
#9D56CE #CE9D56 #56CE9D
tetradic
#9D56CE #CE6156 #87CE56 #56C3CE
square
#9D56CE #CE6156 #87CE56 #56C3CE
split-complementary
#9D56CE #C3CE56 #56CE61
monochromatic
#5D2683 #7F34B3 #9D56CE #B985DC #D4B5EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D56CE#FFFFFF#000000##000000
##9D56CE1.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)
#2A73D2
Deuteranopia (green-blind)
#4778CB
Tritanopia (blue-blind)
#966C8A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9d56ce;
/* rgb */ color: rgb(157, 86, 206);
/* oklch */ color: oklch(58.9% 0.184 309.1);
Tailwind
colors: {
  custom: {
    50: '#bd89dd',
    500: '#9d56ce',
    950: '#000000',
  },
}
SCSS
$custom: #9d56ce;
$custom-light: #bd89dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d56ce",
  "rgb": {
    "r": 157,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 275.5,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58901,
    "c": 0.18445,
    "h": 309.1
  },
  "luminance": 0.1828
}

Semantic roles & 50–950 ramp

primary
#9D56CE
secondary
#BBD8A8
accent
#DE4986
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9D56CE

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

Preview Lab → · Contrast checker → · Palette generator →

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