#8E4CAF#8E4CAF

#8E4CAF is a mid, vivid purple. Relative luminance 0.140; OKLCH L 53.8% C 0.160 H 313.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8E4CAF
RGBrgb(142, 76, 175)
HSLhsl(280, 39%, 49%)
HSVhsv(280, 57%, 69%)
CMYKcmyk(18.9%, 56.6%, 0%, 31.4%)
CIE-LABlab(44.26, 44.82, -41.84)
CIE-LCHlch(44.26, 61.32, 316.97°)
OKLaboklab(53.84% 0.1094 -0.1172)
OKLCHoklch(53.84% 0.16 313)
XYZxyz(21.4763, 14.0154, 42.1230)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4CAF #6DAF4C
analogous
#5D4CAF #8E4CAF #AF4C9F
triadic
#8E4CAF #AF8E4C #4CAF8E
tetradic
#8E4CAF #AF5D4C #6DAF4C #4C9FAF
square
#8E4CAF #AF5D4C #6DAF4C #4C9FAF
split-complementary
#8E4CAF #9FAF4C #4CAF5D
monochromatic
#49275A #6B3984 #8E4CAF #A975C3 #C4A0D6

Accessibility & contrast

On white

5.52
#8E4CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8E4CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4CAF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4CAF#FFFFFF#000000##FFFFFF
##8E4CAF1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#476AAD
Tritanopia (blue-blind)
#8B5D76
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8e4caf;
/* rgb */ color: rgb(142, 76, 175);
/* oklch */ color: oklch(53.8% 0.160 313.0);
Tailwind
colors: {
  custom: {
    50: '#b281c7',
    500: '#8e4caf',
    950: '#000000',
  },
}
SCSS
$custom: #8e4caf;
$custom-light: #b281c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4caf",
  "rgb": {
    "r": 142,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 280,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5384,
    "c": 0.1603,
    "h": 313
  },
  "luminance": 0.14015
}

Semantic roles & 50–950 ramp

primary
#8E4CAF
secondary
#A4C294
accent
#CF5880
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8E4CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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