#8E2EBC#8E2EBC

#8E2EBC is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.213 H 312.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8E2EBC
RGBrgb(142, 46, 188)
HSLhsl(281, 61%, 46%)
HSVhsv(281, 76%, 74%)
CMYKcmyk(24.5%, 75.5%, 0%, 26.3%)
CIE-LABlab(40.14, 61.28, -56.09)
CIE-LCHlch(40.14, 83.07, 317.53°)
OKLaboklab(51.14% 0.1427 -0.1587)
OKLCHoklch(51.14% 0.213 312)
XYZxyz(21.2077, 11.3362, 48.6381)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2EBC #5CBC2E
analogous
#472EBC #8E2EBC #BC2EA3
triadic
#8E2EBC #BC8E2E #2EBC8E
tetradic
#8E2EBC #BC472E #5CBC2E #2EA3BC
square
#8E2EBC #BC472E #5CBC2E #2EA3BC
split-complementary
#8E2EBC #A3BC2E #2EBC47
monochromatic
#44165A #69228B #8E2EBC #AB52D5 #C384E1

Accessibility & contrast

On white

6.43
#8E2EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8E2EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2EBC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2EBC#FFFFFF#000000##FFFFFF
##8E2EBC1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#1660B9
Tritanopia (blue-blind)
#884F73
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8e2ebc;
/* rgb */ color: rgb(142, 46, 188);
/* oklch */ color: oklch(51.1% 0.213 312.0);
Tailwind
colors: {
  custom: {
    50: '#b471d1',
    500: '#8e2ebc',
    950: '#000000',
  },
}
SCSS
$custom: #8e2ebc;
$custom-light: #b471d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2ebc",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 280.563,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51141,
    "c": 0.21346,
    "h": 312
  },
  "luminance": 0.11336
}

Semantic roles & 50–950 ramp

primary
#8E2EBC
secondary
#95CA7C
accent
#E44478
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8E2EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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