#8D56E6#8D56E6

#8D56E6 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.8% C 0.208 H 297.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8D56E6
RGBrgb(141, 86, 230)
HSLhsl(263, 74%, 62%)
HSVhsv(263, 63%, 90%)
CMYKcmyk(38.7%, 62.6%, 0%, 9.8%)
CIE-LABlab(49.53, 52.55, -65.06)
CIE-LCHlch(49.53, 83.63, 308.93°)
OKLaboklab(58.76% 0.0949 -0.1853)
OKLCHoklch(58.76% 0.208 297.1)
XYZxyz(28.5916, 18.0310, 76.8215)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D56E6 #AFE656
analogous
#5667E6 #8D56E6 #D556E6
triadic
#8D56E6 #E68D56 #56E68D
tetradic
#8D56E6 #E65667 #AFE656 #56E6D5
square
#8D56E6 #E65667 #AFE656 #56E6D5
split-complementary
#8D56E6 #E6D556 #67E656
monochromatic
#5019A9 #6921DE #8D56E6 #B18BEE #D5C1F6

Accessibility & contrast

On white

4.56
#8D56E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8D56E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D56E6
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D56E6#FFFFFF#000000##000000
##8D56E61.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EB
Deuteranopia (green-blind)
#0074E3
Tritanopia (blue-blind)
#777696
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d56e6;
/* rgb */ color: rgb(141, 86, 230);
/* oklch */ color: oklch(58.8% 0.208 297.1);
Tailwind
colors: {
  custom: {
    50: '#b488ef',
    500: '#8d56e6',
    950: '#000000',
  },
}
SCSS
$custom: #8d56e6;
$custom-light: #b488ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8d56e6",
  "rgb": {
    "r": 141,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 262.917,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.5876,
    "c": 0.2082,
    "h": 297.1
  },
  "luminance": 0.18031
}

Semantic roles & 50–950 ramp

primary
#8D56E6
secondary
#D2E6B1
accent
#D60F8A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8D56E6

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

Preview Lab → · Contrast checker → · Palette generator →

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