#8E2CAB#8E2CAB

#8E2CAB is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.200 H 317.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#8E2CAB
RGBrgb(142, 44, 171)
HSLhsl(286, 59%, 42%)
HSVhsv(286, 74%, 67%)
CMYKcmyk(17%, 74.3%, 0%, 32.9%)
CIE-LABlab(38.71, 58.58, -48.33)
CIE-LCHlch(38.71, 75.95, 320.48°)
OKLaboklab(49.76% 0.147 -0.1359)
OKLCHoklch(49.76% 0.2 317.2)
XYZxyz(19.4056, 10.4933, 39.5234)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2CAB #49AB2C
analogous
#4E2CAB #8E2CAB #AB2C89
triadic
#8E2CAB #AB8E2C #2CAB8E
tetradic
#8E2CAB #AB4E2C #49AB2C #2C89AB
square
#8E2CAB #AB4E2C #49AB2C #2C89AB
split-complementary
#8E2CAB #89AB2C #2CAB4E
monochromatic
#3D134A #661F7A #8E2CAB #B045CF #C476DC

Accessibility & contrast

On white

6.78
#8E2CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8E2CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2CAB
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2CAB#FFFFFF#000000##FFFFFF
##8E2CAB1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#2F5EA8
Tritanopia (blue-blind)
#8D4769
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e2cab;
/* rgb */ color: rgb(142, 44, 171);
/* oklch */ color: oklch(49.8% 0.200 317.2);
Tailwind
colors: {
  custom: {
    50: '#b36fc5',
    500: '#8e2cab',
    950: '#000000',
  },
}
SCSS
$custom: #8e2cab;
$custom-light: #b36fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2cab",
  "rgb": {
    "r": 142,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 286.299,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4976,
    "c": 0.20023,
    "h": 317.2
  },
  "luminance": 0.10492
}

Semantic roles & 50–950 ramp

primary
#8E2CAB
secondary
#83C36F
accent
#E24669
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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