#8D56DE#8D56DE

#8D56DE is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.2% C 0.199 H 298.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8D56DE
RGBrgb(141, 86, 222)
HSLhsl(264, 67%, 60%)
HSVhsv(264, 61%, 87%)
CMYKcmyk(36.5%, 61.3%, 0%, 12.9%)
CIE-LABlab(49.00, 50.51, -61.40)
CIE-LCHlch(49.00, 79.51, 309.44°)
OKLaboklab(58.2% 0.0954 -0.1746)
OKLCHoklch(58.2% 0.199 298.7)
XYZxyz(27.4938, 17.5919, 71.0401)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D56DE #A7DE56
analogous
#5663DE #8D56DE #D156DE
triadic
#8D56DE #DE8D56 #56DE8D
tetradic
#8D56DE #DE5663 #A7DE56 #56DED1
square
#8D56DE #DE5663 #A7DE56 #56DED1
split-complementary
#8D56DE #DED156 #63DE56
monochromatic
#511E9B #6C28CE #8D56DE #B089E8 #D2BCF2

Accessibility & contrast

On white

4.65
#8D56DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8D56DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D56DE
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D56DE#FFFFFF#000000##FFFFFF
##8D56DE1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#1C73DB
Tritanopia (blue-blind)
#7B7492
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8d56de;
/* rgb */ color: rgb(141, 86, 222);
/* oklch */ color: oklch(58.2% 0.199 298.7);
Tailwind
colors: {
  custom: {
    50: '#b388e9',
    500: '#8d56de',
    950: '#000000',
  },
}
SCSS
$custom: #8d56de;
$custom-light: #b388e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d56de",
  "rgb": {
    "r": 141,
    "g": 86,
    "b": 222
  },
  "hsl": {
    "h": 264.265,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.582,
    "c": 0.19893,
    "h": 298.7
  },
  "luminance": 0.17592
}

Semantic roles & 50–950 ramp

primary
#8D56DE
secondary
#CDE2AE
accent
#CF1684
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8D56DE

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

Preview Lab → · Contrast checker → · Palette generator →

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