#8E2CC0#8E2CC0

#8E2CC0 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.3% C 0.219 H 311.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8E2CC0
RGBrgb(142, 44, 192)
HSLhsl(280, 63%, 46%)
HSVhsv(280, 77%, 75%)
CMYKcmyk(26%, 77.1%, 0%, 24.7%)
CIE-LABlab(40.18, 62.83, -58.38)
CIE-LCHlch(40.18, 85.76, 317.10°)
OKLaboklab(51.26% 0.1437 -0.1654)
OKLCHoklch(51.26% 0.219 311)
XYZxyz(21.5686, 11.3585, 50.9152)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2CC0 #5EC02C
analogous
#442CC0 #8E2CC0 #C02CA8
triadic
#8E2CC0 #C08E2C #2CC08E
tetradic
#8E2CC0 #C0442C #5EC02C #2CA8C0
square
#8E2CC0 #C0442C #5EC02C #2CA8C0
split-complementary
#8E2CC0 #A8C02C #2CC044
monochromatic
#44155C #69218E #8E2CC0 #AA52D7 #C384E3

Accessibility & contrast

On white

6.42
#8E2CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8E2CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2CC0
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2CC0#FFFFFF#000000##FFFFFF
##8E2CC01.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#0360BD
Tritanopia (blue-blind)
#875075
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8e2cc0;
/* rgb */ color: rgb(142, 44, 192);
/* oklch */ color: oklch(51.3% 0.219 311.0);
Tailwind
colors: {
  custom: {
    50: '#b470d4',
    500: '#8e2cc0',
    950: '#000000',
  },
}
SCSS
$custom: #8e2cc0;
$custom-light: #b470d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2cc0",
  "rgb": {
    "r": 142,
    "g": 44,
    "b": 192
  },
  "hsl": {
    "h": 279.73,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51258,
    "c": 0.21914,
    "h": 311
  },
  "luminance": 0.11358
}

Semantic roles & 50–950 ramp

primary
#8E2CC0
secondary
#97CC7C
accent
#E64279
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8E2CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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