#8E2DA3#8E2DA3

#8E2DA3 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.192 H 319.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8E2DA3
RGBrgb(142, 45, 163)
HSLhsl(289, 57%, 41%)
HSVhsv(289, 72%, 64%)
CMYKcmyk(12.9%, 72.4%, 0%, 36.1%)
CIE-LABlab(38.33, 56.66, -44.17)
CIE-LCHlch(38.33, 71.84, 322.06°)
OKLaboklab(49.32% 0.1468 -0.1237)
OKLCHoklch(49.32% 0.192 319.9)
XYZxyz(18.7037, 10.2728, 35.6409)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2DA3 #42A32D
analogous
#532DA3 #8E2DA3 #A32D7D
triadic
#8E2DA3 #A38E2D #2DA38E
tetradic
#8E2DA3 #A3532D #42A32D #2D7DA3
square
#8E2DA3 #A3532D #42A32D #2D7DA3
split-complementary
#8E2DA3 #7DA32D #2DA353
monochromatic
#3A1343 #642073 #8E2DA3 #B342CB #C672D8

Accessibility & contrast

On white

6.88
#8E2DA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8E2DA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2DA3
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2DA3#FFFFFF#000000##FFFFFF
##8E2DA31.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#375EA0
Tritanopia (blue-blind)
#8E4465
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e2da3;
/* rgb */ color: rgb(142, 45, 163);
/* oklch */ color: oklch(49.3% 0.192 319.9);
Tailwind
colors: {
  custom: {
    50: '#b36fbf',
    500: '#8e2da3',
    950: '#000000',
  },
}
SCSS
$custom: #8e2da3;
$custom-light: #b36fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2da3",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 289.322,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4932,
    "c": 0.19196,
    "h": 319.9
  },
  "luminance": 0.10272
}

Semantic roles & 50–950 ramp

primary
#8E2DA3
secondary
#7BC06C
accent
#E04863
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E2DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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