#8D56E5#8D56E5

#8D56E5 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.7% C 0.207 H 297.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8D56E5
RGBrgb(141, 86, 229)
HSLhsl(263, 73%, 62%)
HSVhsv(263, 62%, 90%)
CMYKcmyk(38.4%, 62.4%, 0%, 10.2%)
CIE-LABlab(49.47, 52.29, -64.60)
CIE-LCHlch(49.47, 83.12, 308.99°)
OKLaboklab(58.69% 0.095 -0.184)
OKLCHoklch(58.69% 0.207 297.3)
XYZxyz(28.4515, 17.9750, 76.0841)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D56E5 #AEE556
analogous
#5667E5 #8D56E5 #D556E5
triadic
#8D56E5 #E58D56 #56E58D
tetradic
#8D56E5 #E55667 #AEE556 #56E5D5
square
#8D56E5 #E55667 #AEE556 #56E5D5
split-complementary
#8D56E5 #E5D556 #67E556
monochromatic
#501AA7 #6922DC #8D56E5 #B18BED #D5C0F5

Accessibility & contrast

On white

4.57
#8D56E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8D56E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D56E5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D56E5#FFFFFF#000000##000000
##8D56E51.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#0074E2
Tritanopia (blue-blind)
#787696
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d56e5;
/* rgb */ color: rgb(141, 86, 229);
/* oklch */ color: oklch(58.7% 0.207 297.3);
Tailwind
colors: {
  custom: {
    50: '#b488ee',
    500: '#8d56e5',
    950: '#000000',
  },
}
SCSS
$custom: #8d56e5;
$custom-light: #b488ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8d56e5",
  "rgb": {
    "r": 141,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 263.077,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58689,
    "c": 0.20704,
    "h": 297.3
  },
  "luminance": 0.17975
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D56E5

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

Preview Lab → · Contrast checker → · Palette generator →

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