#8E2DB3#8E2DB3

#8E2DB3 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.4% C 0.206 H 314.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8E2DB3
RGBrgb(142, 45, 179)
HSLhsl(283, 60%, 44%)
HSVhsv(283, 75%, 70%)
CMYKcmyk(20.7%, 74.9%, 0%, 29.8%)
CIE-LABlab(39.38, 59.81, -52.01)
CIE-LCHlch(39.38, 79.26, 318.99°)
OKLaboklab(50.41% 0.145 -0.1467)
OKLCHoklch(50.41% 0.206 314.7)
XYZxyz(20.2290, 10.8829, 43.6741)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2DB3 #52B32D
analogous
#4B2DB3 #8E2DB3 #B32D95
triadic
#8E2DB3 #B38E2D #2DB38E
tetradic
#8E2DB3 #B34B2D #52B32D #2D95B3
square
#8E2DB3 #B34B2D #52B32D #2D95B3
split-complementary
#8E2DB3 #95B32D #2DB34B
monochromatic
#401451 #672182 #8E2DB3 #AD4BD2 #C37CDE

Accessibility & contrast

On white

6.61
#8E2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8E2DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2DB3
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2DB3#FFFFFF#000000##FFFFFF
##8E2DB31.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#265FB0
Tritanopia (blue-blind)
#8B4B6E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8e2db3;
/* rgb */ color: rgb(142, 45, 179);
/* oklch */ color: oklch(50.4% 0.206 314.7);
Tailwind
colors: {
  custom: {
    50: '#b370ca',
    500: '#8e2db3',
    950: '#000000',
  },
}
SCSS
$custom: #8e2db3;
$custom-light: #b370ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2db3",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 283.433,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50406,
    "c": 0.20632,
    "h": 314.7
  },
  "luminance": 0.10882
}

Semantic roles & 50–950 ramp

primary
#8E2DB3
secondary
#8CC775
accent
#E34570
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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