#8D56EE#8D56EE

#8D56EE is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.3% C 0.217 H 295.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8D56EE
RGBrgb(141, 86, 238)
HSLhsl(262, 82%, 64%)
HSVhsv(262, 64%, 93%)
CMYKcmyk(40.8%, 63.9%, 0%, 6.7%)
CIE-LABlab(50.09, 54.60, -68.67)
CIE-LCHlch(50.09, 87.72, 308.49°)
OKLaboklab(59.33% 0.0942 -0.1959)
OKLCHoklch(59.33% 0.217 295.7)
XYZxyz(29.7408, 18.4907, 82.8745)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D56EE #B7EE56
analogous
#566BEE #8D56EE #D956EE
triadic
#8D56EE #EE8D56 #56EE8D
tetradic
#8D56EE #EE566B #B7EE56 #56EED9
square
#8D56EE #EE566B #B7EE56 #56EED9
split-complementary
#8D56EE #EED956 #6BEE56
monochromatic
#4E12B7 #671EE8 #8D56EE #B38EF4 #D8C5F9

Accessibility & contrast

On white

4.47
#8D56EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#8D56EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D56EE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D56EE#FFFFFF#000000##000000
##8D56EE1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F3
Deuteranopia (green-blind)
#0075EB
Tritanopia (blue-blind)
#74799A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d56ee;
/* rgb */ color: rgb(141, 86, 238);
/* oklch */ color: oklch(59.3% 0.217 295.7);
Tailwind
colors: {
  custom: {
    50: '#b589f4',
    500: '#8d56ee',
    950: '#000000',
  },
}
SCSS
$custom: #8d56ee;
$custom-light: #b589f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d56ee",
  "rgb": {
    "r": 141,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 261.711,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59334,
    "c": 0.21738,
    "h": 295.7
  },
  "luminance": 0.18491
}

Semantic roles & 50–950 ramp

primary
#8D56EE
secondary
#D7EBB5
accent
#DE0790
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D56EE

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

Preview Lab → · Contrast checker → · Palette generator →

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