#8C2EAD#8C2EAD

#8C2EAD is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.199 H 315.7°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8C2EAD
RGBrgb(140, 46, 173)
HSLhsl(284, 58%, 43%)
HSVhsv(284, 73%, 68%)
CMYKcmyk(19.1%, 73.4%, 0%, 32.2%)
CIE-LABlab(38.81, 57.82, -49.39)
CIE-LCHlch(38.81, 76.04, 319.49°)
OKLaboklab(49.81% 0.1423 -0.1391)
OKLCHoklch(49.81% 0.199 315.7)
XYZxyz(19.3338, 10.5473, 40.5445)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2EAD #4FAD2E
analogous
#4C2EAD #8C2EAD #AD2E8F
triadic
#8C2EAD #AD8C2E #2EAD8C
tetradic
#8C2EAD #AD4C2E #4FAD2E #2E8FAD
square
#8C2EAD #AD4C2E #4FAD2E #2E8FAD
split-complementary
#8C2EAD #8FAD2E #2EAD4C
monochromatic
#3E144C #65217D #8C2EAD #AC49CF #C27ADC

Accessibility & contrast

On white

6.75
#8C2EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8C2EAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2EAD
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2EAD#FFFFFF#000000##FFFFFF
##8C2EAD1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#2B5EAA
Tritanopia (blue-blind)
#8A496B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8c2ead;
/* rgb */ color: rgb(140, 46, 173);
/* oklch */ color: oklch(49.8% 0.199 315.7);
Tailwind
colors: {
  custom: {
    50: '#b270c6',
    500: '#8c2ead',
    950: '#000000',
  },
}
SCSS
$custom: #8c2ead;
$custom-light: #b270c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2ead",
  "rgb": {
    "r": 140,
    "g": 46,
    "b": 173
  },
  "hsl": {
    "h": 284.409,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49808,
    "c": 0.19904,
    "h": 315.7
  },
  "luminance": 0.10547
}

Semantic roles & 50–950 ramp

primary
#8C2EAD
secondary
#88C473
accent
#E1476F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8C2EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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