#8E2AAF#8E2AAF

#8E2AAF is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.206 H 316.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8E2AAF
RGBrgb(142, 42, 175)
HSLhsl(285, 61%, 43%)
HSVhsv(285, 76%, 69%)
CMYKcmyk(18.9%, 76%, 0%, 31.4%)
CIE-LABlab(38.73, 60.10, -50.69)
CIE-LCHlch(38.73, 78.62, 319.85°)
OKLaboklab(49.86% 0.1483 -0.1428)
OKLCHoklch(49.86% 0.206 316.1)
XYZxyz(19.7199, 10.5026, 41.5376)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2AAF #4BAF2A
analogous
#4C2AAF #8E2AAF #AF2A8D
triadic
#8E2AAF #AF8E2A #2AAF8E
tetradic
#8E2AAF #AF4C2A #4BAF2A #2A8DAF
square
#8E2AAF #AF4C2A #4BAF2A #2A8DAF
split-complementary
#8E2AAF #8DAF2A #2AAF4C
monochromatic
#3E124C #661E7E #8E2AAF #AF44D2 #C475DE

Accessibility & contrast

On white

6.77
#8E2AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8E2AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2AAF
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2AAF#FFFFFF#000000##FFFFFF
##8E2AAF1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#285EAC
Tritanopia (blue-blind)
#8C476B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e2aaf;
/* rgb */ color: rgb(142, 42, 175);
/* oklch */ color: oklch(49.9% 0.206 316.1);
Tailwind
colors: {
  custom: {
    50: '#b36fc8',
    500: '#8e2aaf',
    950: '#000000',
  },
}
SCSS
$custom: #8e2aaf;
$custom-light: #b36fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2aaf",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 285.113,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49857,
    "c": 0.20594,
    "h": 316.1
  },
  "luminance": 0.10502
}

Semantic roles & 50–950 ramp

primary
#8E2AAF
secondary
#85C66F
accent
#E4436B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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