#8D56E0#8D56E0

#8D56E0 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.3% C 0.201 H 298.3°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8D56E0
RGBrgb(141, 86, 224)
HSLhsl(264, 69%, 61%)
HSVhsv(264, 62%, 88%)
CMYKcmyk(37.1%, 61.6%, 0%, 12.2%)
CIE-LABlab(49.13, 51.02, -62.32)
CIE-LCHlch(49.13, 80.54, 309.31°)
OKLaboklab(58.34% 0.0953 -0.1773)
OKLCHoklch(58.34% 0.201 298.3)
XYZxyz(27.7635, 17.6997, 72.4602)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D56E0 #A9E056
analogous
#5664E0 #8D56E0 #D256E0
triadic
#8D56E0 #E08D56 #56E08D
tetradic
#8D56E0 #E05664 #A9E056 #56E0D2
square
#8D56E0 #E05664 #A9E056 #56E0D2
split-complementary
#8D56E0 #E0D256 #64E056
monochromatic
#511D9F #6B27D2 #8D56E0 #B08AE9 #D3BDF3

Accessibility & contrast

On white

4.63
#8D56E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#8D56E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D56E0
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D56E0#FFFFFF#000000##FFFFFF
##8D56E01.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E4
Deuteranopia (green-blind)
#1673DD
Tritanopia (blue-blind)
#7A7493
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d56e0;
/* rgb */ color: rgb(141, 86, 224);
/* oklch */ color: oklch(58.3% 0.201 298.3);
Tailwind
colors: {
  custom: {
    50: '#b488ea',
    500: '#8d56e0',
    950: '#000000',
  },
}
SCSS
$custom: #8d56e0;
$custom-light: #b488ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8d56e0",
  "rgb": {
    "r": 141,
    "g": 86,
    "b": 224
  },
  "hsl": {
    "h": 263.913,
    "s": 69,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58339,
    "c": 0.20126,
    "h": 298.3
  },
  "luminance": 0.177
}

Semantic roles & 50–950 ramp

primary
#8D56E0
secondary
#CEE3AF
accent
#D11586
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8D56E0

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

Preview Lab → · Contrast checker → · Palette generator →

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