#8D42AE#8D42AE

#8D42AE is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.3% C 0.174 H 314.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8D42AE
RGBrgb(141, 66, 174)
HSLhsl(282, 45%, 47%)
HSVhsv(282, 62%, 68%)
CMYKcmyk(19%, 62.1%, 0%, 31.8%)
CIE-LABlab(42.18, 49.43, -44.57)
CIE-LCHlch(42.18, 66.56, 317.96°)
OKLaboklab(52.28% 0.1211 -0.1251)
OKLCHoklch(52.28% 0.174 314.1)
XYZxyz(20.5714, 12.6158, 41.3876)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D42AE #63AE42
analogous
#5742AE #8D42AE #AE4299
triadic
#8D42AE #AE8D42 #42AE8D
tetradic
#8D42AE #AE5742 #63AE42 #4299AE
square
#8D42AE #AE5742 #63AE42 #4299AE
split-complementary
#8D42AE #99AE42 #42AE57
monochromatic
#452055 #693182 #8D42AE #A968C6 #C294D6

Accessibility & contrast

On white

5.96
#8D42AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8D42AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D42AE
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D42AE#FFFFFF#000000##FFFFFF
##8D42AE1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5FB1
Deuteranopia (green-blind)
#3E65AB
Tritanopia (blue-blind)
#8A5672
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d42ae;
/* rgb */ color: rgb(141, 66, 174);
/* oklch */ color: oklch(52.3% 0.174 314.1);
Tailwind
colors: {
  custom: {
    50: '#b17bc7',
    500: '#8d42ae',
    950: '#000000',
  },
}
SCSS
$custom: #8d42ae;
$custom-light: #b17bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d42ae",
  "rgb": {
    "r": 141,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 281.667,
    "s": 45,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52278,
    "c": 0.17411,
    "h": 314.1
  },
  "luminance": 0.12615
}

Semantic roles & 50–950 ramp

primary
#8D42AE
secondary
#9BC28A
accent
#D5537B
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8D42AE

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

Preview Lab → · Contrast checker → · Palette generator →

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