#8E2DBC#8E2DBC

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

Color values

HEX#8E2DBC
RGBrgb(142, 45, 188)
HSLhsl(281, 61%, 46%)
HSVhsv(281, 76%, 74%)
CMYKcmyk(24.5%, 76.1%, 0%, 26.3%)
CIE-LABlab(40.01, 61.64, -56.30)
CIE-LCHlch(40.01, 83.48, 317.60°)
OKLaboklab(51.05% 0.1436 -0.1593)
OKLCHoklch(51.05% 0.215 312)
XYZxyz(21.1691, 11.2590, 48.6253)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2DBC #5BBC2D
analogous
#462DBC #8E2DBC #BC2DA2
triadic
#8E2DBC #BC8E2D #2DBC8E
tetradic
#8E2DBC #BC462D #5BBC2D #2DA2BC
square
#8E2DBC #BC462D #5BBC2D #2DA2BC
split-complementary
#8E2DBC #A2BC2D #2DBC46
monochromatic
#431559 #69218B #8E2DBC #AB51D5 #C382E1

Accessibility & contrast

On white

6.46
#8E2DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8E2DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2DBC
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2DBC#FFFFFF#000000##FFFFFF
##8E2DBC1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e2dbc;
/* rgb */ color: rgb(142, 45, 188);
/* oklch */ color: oklch(51.1% 0.214 312.0);
Tailwind
colors: {
  custom: {
    50: '#b470d1',
    500: '#8e2dbc',
    950: '#000000',
  },
}
SCSS
$custom: #8e2dbc;
$custom-light: #b470d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2dbc",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 280.699,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51051,
    "c": 0.2145,
    "h": 312
  },
  "luminance": 0.11258
}

Semantic roles & 50–950 ramp

primary
#8E2DBC
secondary
#94CA7B
accent
#E44377
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8E2DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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