#8E56E7#8E56E7

#8E56E7 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.9% C 0.209 H 297.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8E56E7
RGBrgb(142, 86, 231)
HSLhsl(263, 75%, 62%)
HSVhsv(263, 63%, 91%)
CMYKcmyk(38.5%, 62.8%, 0%, 9.4%)
CIE-LABlab(49.71, 53.01, -65.34)
CIE-LCHlch(49.71, 84.13, 309.05°)
OKLaboklab(58.93% 0.0961 -0.1861)
OKLCHoklch(58.93% 0.209 297.3)
XYZxyz(28.9032, 18.1754, 77.5712)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E56E7 #AFE756
analogous
#5667E7 #8E56E7 #D656E7
triadic
#8E56E7 #E78E56 #56E78E
tetradic
#8E56E7 #E75667 #AFE756 #56E7D6
square
#8E56E7 #E75667 #AFE756 #56E7D6
split-complementary
#8E56E7 #E7D656 #67E756
monochromatic
#5118AA #6A20DF #8E56E7 #B28CEF #D6C1F6

Accessibility & contrast

On white

4.53
#8E56E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8E56E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E56E7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E56E7#FFFFFF#000000##000000
##8E56E71.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#797797
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8e56e7;
/* rgb */ color: rgb(142, 86, 231);
/* oklch */ color: oklch(58.9% 0.209 297.3);
Tailwind
colors: {
  custom: {
    50: '#b588ef',
    500: '#8e56e7',
    950: '#000000',
  },
}
SCSS
$custom: #8e56e7;
$custom-light: #b588ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8e56e7",
  "rgb": {
    "r": 142,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 263.172,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58932,
    "c": 0.20946,
    "h": 297.3
  },
  "luminance": 0.18176
}

Semantic roles & 50–950 ramp

primary
#8E56E7
secondary
#D2E7B2
accent
#D70E8A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E56E7

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

Preview Lab → · Contrast checker → · Palette generator →

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