#8E2CAF#8E2CAF

#8E2CAF is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.204 H 316.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8E2CAF
RGBrgb(142, 44, 175)
HSLhsl(285, 60%, 43%)
HSVhsv(285, 75%, 69%)
CMYKcmyk(18.9%, 74.9%, 0%, 31.4%)
CIE-LABlab(38.98, 59.38, -50.28)
CIE-LCHlch(38.98, 77.81, 319.74°)
OKLaboklab(50.04% 0.1465 -0.1417)
OKLCHoklch(50.04% 0.204 316)
XYZxyz(19.7927, 10.6481, 41.5618)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2CAF #4DAF2C
analogous
#4C2CAF #8E2CAF #AF2C8F
triadic
#8E2CAF #AF8E2C #2CAF8E
tetradic
#8E2CAF #AF4C2C #4DAF2C #2C8FAF
square
#8E2CAF #AF4C2C #4DAF2C #2C8FAF
split-complementary
#8E2CAF #8FAF2C #2CAF4C
monochromatic
#3F134D #66207E #8E2CAF #AE47D1 #C478DD

Accessibility & contrast

On white

6.71
#8E2CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8E2CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2CAF
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2CAF#FFFFFF#000000##FFFFFF
##8E2CAF1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#2A5EAC
Tritanopia (blue-blind)
#8C486C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8e2caf;
/* rgb */ color: rgb(142, 44, 175);
/* oklch */ color: oklch(50.0% 0.204 316.0);
Tailwind
colors: {
  custom: {
    50: '#b36fc8',
    500: '#8e2caf',
    950: '#000000',
  },
}
SCSS
$custom: #8e2caf;
$custom-light: #b36fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2caf",
  "rgb": {
    "r": 142,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 284.885,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50035,
    "c": 0.2038,
    "h": 316
  },
  "luminance": 0.10647
}

Semantic roles & 50–950 ramp

primary
#8E2CAF
secondary
#87C572
accent
#E3456D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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