#8D56DF#8D56DF

#8D56DF is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.3% C 0.200 H 298.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8D56DF
RGBrgb(141, 86, 223)
HSLhsl(264, 68%, 61%)
HSVhsv(264, 61%, 87%)
CMYKcmyk(36.8%, 61.4%, 0%, 12.5%)
CIE-LABlab(49.06, 50.77, -61.86)
CIE-LCHlch(49.06, 80.03, 309.37°)
OKLaboklab(58.27% 0.0954 -0.1759)
OKLCHoklch(58.27% 0.2 298.5)
XYZxyz(27.6282, 17.6457, 71.7481)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D56DF #A8DF56
analogous
#5663DF #8D56DF #D256DF
triadic
#8D56DF #DF8D56 #56DF8D
tetradic
#8D56DF #DF5663 #A8DF56 #56DFD2
square
#8D56DF #DF5663 #A8DF56 #56DFD2
split-complementary
#8D56DF #DFD256 #63DF56
monochromatic
#511E9D #6B27D0 #8D56DF #B089E9 #D2BDF2

Accessibility & contrast

On white

4.64
#8D56DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8D56DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D56DF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D56DF#FFFFFF#000000##FFFFFF
##8D56DF1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#1973DC
Tritanopia (blue-blind)
#7A7493
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d56df;
/* rgb */ color: rgb(141, 86, 223);
/* oklch */ color: oklch(58.3% 0.200 298.5);
Tailwind
colors: {
  custom: {
    50: '#b388ea',
    500: '#8d56df',
    950: '#000000',
  },
}
SCSS
$custom: #8d56df;
$custom-light: #b388ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8d56df",
  "rgb": {
    "r": 141,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 264.088,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5827,
    "c": 0.20009,
    "h": 298.5
  },
  "luminance": 0.17646
}

Semantic roles & 50–950 ramp

primary
#8D56DF
secondary
#CEE2AE
accent
#D01585
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8D56DF

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

Preview Lab → · Contrast checker → · Palette generator →

#8D56DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva