#8E2EBD#8E2EBD

#8E2EBD is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.214 H 311.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8E2EBD
RGBrgb(142, 46, 189)
HSLhsl(280, 61%, 46%)
HSVhsv(280, 76%, 74%)
CMYKcmyk(24.9%, 75.7%, 0%, 25.9%)
CIE-LABlab(40.21, 61.48, -56.56)
CIE-LCHlch(40.21, 83.54, 317.39°)
OKLaboklab(51.21% 0.1425 -0.1601)
OKLCHoklch(51.21% 0.214 311.7)
XYZxyz(21.3159, 11.3795, 49.2078)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2EBD #5DBD2E
analogous
#472EBD #8E2EBD #BD2EA4
triadic
#8E2EBD #BD8E2E #2EBD8E
tetradic
#8E2EBD #BD472E #5DBD2E #2EA4BD
square
#8E2EBD #BD472E #5DBD2E #2EA4BD
split-complementary
#8E2EBD #A4BD2E #2EBD47
monochromatic
#44165B #69228C #8E2EBD #AA53D5 #C384E1

Accessibility & contrast

On white

6.41
#8E2EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8E2EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2EBD
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2EBD#FFFFFF#000000##FFFFFF
##8E2EBD1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#1461BA
Tritanopia (blue-blind)
#885074
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8e2ebd;
/* rgb */ color: rgb(142, 46, 189);
/* oklch */ color: oklch(51.2% 0.214 311.7);
Tailwind
colors: {
  custom: {
    50: '#b471d2',
    500: '#8e2ebd',
    950: '#000000',
  },
}
SCSS
$custom: #8e2ebd;
$custom-light: #b471d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2ebd",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 280.28,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51214,
    "c": 0.21437,
    "h": 311.7
  },
  "luminance": 0.11379
}

Semantic roles & 50–950 ramp

primary
#8E2EBD
secondary
#96CA7C
accent
#E44478
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8E2EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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