#8C2EAE#8C2EAE

#8C2EAE is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.200 H 315.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8C2EAE
RGBrgb(140, 46, 174)
HSLhsl(284, 58%, 43%)
HSVhsv(284, 74%, 68%)
CMYKcmyk(19.5%, 73.6%, 0%, 31.8%)
CIE-LABlab(38.87, 58.02, -49.88)
CIE-LCHlch(38.87, 76.51, 319.31°)
OKLaboklab(49.88% 0.1422 -0.1406)
OKLCHoklch(49.88% 0.2 315.3)
XYZxyz(19.4310, 10.5862, 41.0560)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2EAE #50AE2E
analogous
#4C2EAE #8C2EAE #AE2E90
triadic
#8C2EAE #AE8C2E #2EAE8C
tetradic
#8C2EAE #AE4C2E #50AE2E #2E90AE
square
#8C2EAE #AE4C2E #50AE2E #2E90AE
split-complementary
#8C2EAE #90AE2E #2EAE4C
monochromatic
#3E144D #65217E #8C2EAE #AC4ACF #C27ADC

Accessibility & contrast

On white

6.74
#8C2EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8C2EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2EAE
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2EAE#FFFFFF#000000##FFFFFF
##8C2EAE1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#2A5EAB
Tritanopia (blue-blind)
#89496C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8c2eae;
/* rgb */ color: rgb(140, 46, 174);
/* oklch */ color: oklch(49.9% 0.200 315.3);
Tailwind
colors: {
  custom: {
    50: '#b270c7',
    500: '#8c2eae',
    950: '#000000',
  },
}
SCSS
$custom: #8c2eae;
$custom-light: #b270c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2eae",
  "rgb": {
    "r": 140,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 284.063,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49877,
    "c": 0.19995,
    "h": 315.3
  },
  "luminance": 0.10585
}

Semantic roles & 50–950 ramp

primary
#8C2EAE
secondary
#89C474
accent
#E14670
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8C2EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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