#8E2EC8#8E2EC8

#8E2EC8 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.0% C 0.224 H 308.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8E2EC8
RGBrgb(142, 46, 200)
HSLhsl(277, 63%, 48%)
HSVhsv(277, 77%, 78%)
CMYKcmyk(29%, 77%, 0%, 21.6%)
CIE-LABlab(41.02, 63.79, -61.68)
CIE-LCHlch(41.02, 88.74, 315.96°)
OKLaboklab(52.03% 0.1404 -0.1752)
OKLCHoklch(52.03% 0.224 308.7)
XYZxyz(22.5555, 11.8753, 55.7363)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2EC8 #68C82E
analogous
#412EC8 #8E2EC8 #C82EB5
triadic
#8E2EC8 #C88E2E #2EC88E
tetradic
#8E2EC8 #C8412E #68C82E #2EB5C8
square
#8E2EC8 #C8412E #68C82E #2EB5C8
split-complementary
#8E2EC8 #B5C82E #2EC841
monochromatic
#471764 #6B2396 #8E2EC8 #A95AD9 #C38CE5

Accessibility & contrast

On white

6.22
#8E2EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8E2EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2EC8
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2EC8#FFFFFF#000000##FFFFFF
##8E2EC81.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#85547A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e2ec8;
/* rgb */ color: rgb(142, 46, 200);
/* oklch */ color: oklch(52.0% 0.224 308.7);
Tailwind
colors: {
  custom: {
    50: '#b471da',
    500: '#8e2ec8',
    950: '#000000',
  },
}
SCSS
$custom: #8e2ec8;
$custom-light: #b471da;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2ec8",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 200
  },
  "hsl": {
    "h": 277.403,
    "s": 62.602,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52033,
    "c": 0.22449,
    "h": 308.7
  },
  "luminance": 0.11875
}

Semantic roles & 50–950 ramp

primary
#8E2EC8
secondary
#A0CF83
accent
#E64280
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8E2EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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