#8E2AB3#8E2AB3

#8E2AB3 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.1% C 0.209 H 314.9°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8E2AB3
RGBrgb(142, 42, 179)
HSLhsl(284, 62%, 43%)
HSVhsv(284, 77%, 70%)
CMYKcmyk(20.7%, 76.5%, 0%, 29.8%)
CIE-LABlab(39.01, 60.89, -52.62)
CIE-LCHlch(39.01, 80.48, 319.17°)
OKLaboklab(50.14% 0.1477 -0.1485)
OKLCHoklch(50.14% 0.209 314.9)
XYZxyz(20.1186, 10.6621, 43.6373)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2AB3 #4FB32A
analogous
#4A2AB3 #8E2AB3 #B32A93
triadic
#8E2AB3 #B38E2A #2AB38E
tetradic
#8E2AB3 #B34A2A #4FB32A #2A93B3
square
#8E2AB3 #B34A2A #4FB32A #2A93B3
split-complementary
#8E2AB3 #93B32A #2AB34A
monochromatic
#3F1350 #671E81 #8E2AB3 #AE46D4 #C378DF

Accessibility & contrast

On white

6.70
#8E2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8E2AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2AB3
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2AB3#FFFFFF#000000##FFFFFF
##8E2AB31.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#235EB0
Tritanopia (blue-blind)
#8B496D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8e2ab3;
/* rgb */ color: rgb(142, 42, 179);
/* oklch */ color: oklch(50.1% 0.209 314.9);
Tailwind
colors: {
  custom: {
    50: '#b36fca',
    500: '#8e2ab3',
    950: '#000000',
  },
}
SCSS
$custom: #8e2ab3;
$custom-light: #b36fca;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2ab3",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 283.796,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50139,
    "c": 0.20948,
    "h": 314.9
  },
  "luminance": 0.10661
}

Semantic roles & 50–950 ramp

primary
#8E2AB3
secondary
#89C772
accent
#E5436F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8E2AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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