#8E2DB7#8E2DB7

#8E2DB7 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.210 H 313.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#8E2DB7
RGBrgb(142, 45, 183)
HSLhsl(282, 61%, 45%)
HSVhsv(282, 75%, 72%)
CMYKcmyk(22.4%, 75.4%, 0%, 28.2%)
CIE-LABlab(39.66, 60.62, -53.93)
CIE-LCHlch(39.66, 81.13, 318.34°)
OKLaboklab(50.69% 0.1444 -0.1524)
OKLCHoklch(50.69% 0.21 313.5)
XYZxyz(20.6395, 11.0471, 45.8356)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2DB7 #56B72D
analogous
#492DB7 #8E2DB7 #B72D9B
triadic
#8E2DB7 #B78E2D #2DB78E
tetradic
#8E2DB7 #B7492D #56B72D #2D9BB7
square
#8E2DB7 #B7492D #56B72D #2D9BB7
split-complementary
#8E2DB7 #9BB72D #2DB749
monochromatic
#421555 #682186 #8E2DB7 #AC4ED3 #C37FDF

Accessibility & contrast

On white

6.54
#8E2DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8E2DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2DB7
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2DB7#FFFFFF#000000##FFFFFF
##8E2DB71.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#1F60B4
Tritanopia (blue-blind)
#8A4C70
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8e2db7;
/* rgb */ color: rgb(142, 45, 183);
/* oklch */ color: oklch(50.7% 0.210 313.5);
Tailwind
colors: {
  custom: {
    50: '#b370cd',
    500: '#8e2db7',
    950: '#000000',
  },
}
SCSS
$custom: #8e2db7;
$custom-light: #b370cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2db7",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 282.174,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5069,
    "c": 0.20994,
    "h": 313.5
  },
  "luminance": 0.11046
}

Semantic roles & 50–950 ramp

primary
#8E2DB7
secondary
#90C878
accent
#E44474
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8E2DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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