#8E2DAF#8E2DAF

#8E2DAF is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.1% C 0.203 H 315.9°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8E2DAF
RGBrgb(142, 45, 175)
HSLhsl(285, 59%, 43%)
HSVhsv(285, 74%, 69%)
CMYKcmyk(18.9%, 74.3%, 0%, 31.4%)
CIE-LABlab(39.11, 59.01, -50.08)
CIE-LCHlch(39.11, 77.39, 319.68°)
OKLaboklab(50.13% 0.1456 -0.1411)
OKLCHoklch(50.13% 0.203 315.9)
XYZxyz(19.8304, 10.7235, 41.5744)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2DAF #4EAF2D
analogous
#4D2DAF #8E2DAF #AF2D8F
triadic
#8E2DAF #AF8E2D #2DAF8E
tetradic
#8E2DAF #AF4D2D #4EAF2D #2D8FAF
square
#8E2DAF #AF4D2D #4EAF2D #2D8FAF
split-complementary
#8E2DAF #8FAF2D #2DAF4D
monochromatic
#3F144E #66207E #8E2DAF #AE49D0 #C47ADD

Accessibility & contrast

On white

6.68
#8E2DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8E2DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2DAF
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2DAF#FFFFFF#000000##FFFFFF
##8E2DAF1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e2daf;
/* rgb */ color: rgb(142, 45, 175);
/* oklch */ color: oklch(50.1% 0.203 315.9);
Tailwind
colors: {
  custom: {
    50: '#b370c8',
    500: '#8e2daf',
    950: '#000000',
  },
}
SCSS
$custom: #8e2daf;
$custom-light: #b370c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2daf",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 284.769,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50127,
    "c": 0.20271,
    "h": 315.9
  },
  "luminance": 0.10723
}

Semantic roles & 50–950 ramp

primary
#8E2DAF
secondary
#88C573
accent
#E2466D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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