#8E49AF#8E49AF

#8E49AF is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.4% C 0.165 H 313.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8E49AF
RGBrgb(142, 73, 175)
HSLhsl(281, 41%, 49%)
HSVhsv(281, 58%, 69%)
CMYKcmyk(18.9%, 58.3%, 0%, 31.4%)
CIE-LABlab(43.67, 46.38, -42.77)
CIE-LCHlch(43.67, 63.09, 317.32°)
OKLaboklab(53.41% 0.1134 -0.1198)
OKLCHoklch(53.41% 0.165 313.4)
XYZxyz(21.2744, 13.6116, 42.0557)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E49AF #6AAF49
analogous
#5B49AF #8E49AF #AF499D
triadic
#8E49AF #AF8E49 #49AF8E
tetradic
#8E49AF #AF5B49 #6AAF49 #499DAF
square
#8E49AF #AF5B49 #6AAF49 #499DAF
split-complementary
#8E49AF #9DAF49 #49AF5B
monochromatic
#482559 #6B3784 #8E49AF #A971C4 #C39CD6

Accessibility & contrast

On white

5.64
#8E49AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8E49AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E49AF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E49AF#FFFFFF#000000##FFFFFF
##8E49AF1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A63B2
Deuteranopia (green-blind)
#4569AC
Tritanopia (blue-blind)
#8B5B75
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8e49af;
/* rgb */ color: rgb(142, 73, 175);
/* oklch */ color: oklch(53.4% 0.165 313.4);
Tailwind
colors: {
  custom: {
    50: '#b27fc7',
    500: '#8e49af',
    950: '#000000',
  },
}
SCSS
$custom: #8e49af;
$custom-light: #b27fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e49af",
  "rgb": {
    "r": 142,
    "g": 73,
    "b": 175
  },
  "hsl": {
    "h": 280.588,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53412,
    "c": 0.16499,
    "h": 313.4
  },
  "luminance": 0.13611
}

Semantic roles & 50–950 ramp

primary
#8E49AF
secondary
#A1C291
accent
#D1577E
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8E49AF

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

Preview Lab → · Contrast checker → · Palette generator →

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