#8E2DB8#8E2DB8

#8E2DB8 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.211 H 313.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8E2DB8
RGBrgb(142, 45, 184)
HSLhsl(282, 61%, 45%)
HSVhsv(282, 76%, 72%)
CMYKcmyk(22.8%, 75.5%, 0%, 27.8%)
CIE-LABlab(39.73, 60.82, -54.40)
CIE-LCHlch(39.73, 81.60, 318.19°)
OKLaboklab(50.76% 0.1443 -0.1538)
OKLCHoklch(50.76% 0.211 313.2)
XYZxyz(20.7439, 11.0889, 46.3857)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2DB8 #57B82D
analogous
#492DB8 #8E2DB8 #B82D9C
triadic
#8E2DB8 #B88E2D #2DB88E
tetradic
#8E2DB8 #B8492D #57B82D #2D9CB8
square
#8E2DB8 #B8492D #57B82D #2D9CB8
split-complementary
#8E2DB8 #9CB82D #2DB849
monochromatic
#421556 #682187 #8E2DB8 #AB4ED4 #C380E0

Accessibility & contrast

On white

6.53
#8E2DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8E2DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2DB8
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2DB8#FFFFFF#000000##FFFFFF
##8E2DB81.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#1E60B5
Tritanopia (blue-blind)
#894D71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8e2db8;
/* rgb */ color: rgb(142, 45, 184);
/* oklch */ color: oklch(50.8% 0.211 313.2);
Tailwind
colors: {
  custom: {
    50: '#b470ce',
    500: '#8e2db8',
    950: '#000000',
  },
}
SCSS
$custom: #8e2db8;
$custom-light: #b470ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2db8",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 281.871,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50761,
    "c": 0.21085,
    "h": 313.2
  },
  "luminance": 0.11088
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E2DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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