#8D56EA#8D56EA

#8D56EA is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.0% C 0.213 H 296.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8D56EA
RGBrgb(141, 86, 234)
HSLhsl(262, 78%, 63%)
HSVhsv(262, 63%, 92%)
CMYKcmyk(39.7%, 63.2%, 0%, 8.2%)
CIE-LABlab(49.81, 53.57, -66.87)
CIE-LCHlch(49.81, 85.68, 308.70°)
OKLaboklab(59.05% 0.0946 -0.1906)
OKLCHoklch(59.05% 0.213 296.4)
XYZxyz(29.1597, 18.2583, 79.8138)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D56EA #B3EA56
analogous
#5669EA #8D56EA #D756EA
triadic
#8D56EA #EA8D56 #56EA8D
tetradic
#8D56EA #EA5669 #B3EA56 #56EAD7
square
#8D56EA #EA5669 #B3EA56 #56EAD7
split-complementary
#8D56EA #EAD756 #69EA56
monochromatic
#4F16B0 #6820E3 #8D56EA #B28CF1 #D6C3F8

Accessibility & contrast

On white

4.51
#8D56EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8D56EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D56EA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D56EA#FFFFFF#000000##000000
##8D56EA1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#767898
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d56ea;
/* rgb */ color: rgb(141, 86, 234);
/* oklch */ color: oklch(59.0% 0.213 296.4);
Tailwind
colors: {
  custom: {
    50: '#b488f2',
    500: '#8d56ea',
    950: '#000000',
  },
}
SCSS
$custom: #8d56ea;
$custom-light: #b488f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d56ea",
  "rgb": {
    "r": 141,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 262.297,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59045,
    "c": 0.2128,
    "h": 296.4
  },
  "luminance": 0.18259
}

Semantic roles & 50–950 ramp

primary
#8D56EA
secondary
#D5E9B3
accent
#DA0B8D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D56EA

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

Preview Lab → · Contrast checker → · Palette generator →

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