#8E56CC#8E56CC

#8E56CC is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.1% C 0.178 H 303.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8E56CC
RGBrgb(142, 86, 204)
HSLhsl(268, 54%, 57%)
HSVhsv(268, 58%, 80%)
CMYKcmyk(30.4%, 57.8%, 0%, 20%)
CIE-LABlab(47.96, 46.27, -52.78)
CIE-LCHlch(47.96, 70.19, 311.24°)
OKLaboklab(57.11% 0.0972 -0.1492)
OKLCHoklch(57.11% 0.178 303.1)
XYZxyz(25.3797, 16.7660, 59.0141)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E56CC #94CC56
analogous
#5659CC #8E56CC #C956CC
triadic
#8E56CC #CC8E56 #56CC8E
tetradic
#8E56CC #CC5659 #94CC56 #56CCC9
square
#8E56CC #CC5659 #94CC56 #56CCC9
split-complementary
#8E56CC #CCC956 #59CC56
monochromatic
#522781 #6F35B0 #8E56CC #AD85DA #CDB4E8

Accessibility & contrast

On white

4.82
#8E56CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8E56CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E56CC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E56CC#FFFFFF#000000##FFFFFF
##8E56CC1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2171D0
Deuteranopia (green-blind)
#3A72C9
Tritanopia (blue-blind)
#826E89
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8e56cc;
/* rgb */ color: rgb(142, 86, 204);
/* oklch */ color: oklch(57.1% 0.178 303.1);
Tailwind
colors: {
  custom: {
    50: '#b388dc',
    500: '#8e56cc',
    950: '#000000',
  },
}
SCSS
$custom: #8e56cc;
$custom-light: #b388dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e56cc",
  "rgb": {
    "r": 142,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 268.475,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57106,
    "c": 0.17808,
    "h": 303.1
  },
  "luminance": 0.16766
}

Semantic roles & 50–950 ramp

primary
#8E56CC
secondary
#C0D7A7
accent
#DD4B98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8E56CC

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

Preview Lab → · Contrast checker → · Palette generator →

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