#8E2EAF#8E2EAF

#8E2EAF is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.2% C 0.202 H 315.8°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#8E2EAF
RGBrgb(142, 46, 175)
HSLhsl(285, 58%, 43%)
HSVhsv(285, 74%, 69%)
CMYKcmyk(18.9%, 73.7%, 0%, 31.4%)
CIE-LABlab(39.24, 58.63, -49.86)
CIE-LCHlch(39.24, 76.97, 319.62°)
OKLaboklab(50.22% 0.1446 -0.1404)
OKLCHoklch(50.22% 0.202 315.8)
XYZxyz(19.8690, 10.8007, 41.5873)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2EAF #4FAF2E
analogous
#4D2EAF #8E2EAF #AF2E8F
triadic
#8E2EAF #AF8E2E #2EAF8E
tetradic
#8E2EAF #AF4D2E #4FAF2E #2E8FAF
square
#8E2EAF #AF4D2E #4FAF2E #2E8FAF
split-complementary
#8E2EAF #8FAF2E #2EAF4D
monochromatic
#3F154E #67217F #8E2EAF #AE4BD0 #C37BDC

Accessibility & contrast

On white

6.65
#8E2EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8E2EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2EAF
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2EAF#FFFFFF#000000##FFFFFF
##8E2EAF1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e2eaf;
/* rgb */ color: rgb(142, 46, 175);
/* oklch */ color: oklch(50.2% 0.202 315.8);
Tailwind
colors: {
  custom: {
    50: '#b370c8',
    500: '#8e2eaf',
    950: '#000000',
  },
}
SCSS
$custom: #8e2eaf;
$custom-light: #b370c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2eaf",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 284.651,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50221,
    "c": 0.20159,
    "h": 315.8
  },
  "luminance": 0.108
}

Semantic roles & 50–950 ramp

primary
#8E2EAF
secondary
#89C574
accent
#E2466E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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