#8D28A4#8D28A4

#8D28A4 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.198 H 319.4°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8D28A4
RGBrgb(141, 40, 164)
HSLhsl(289, 61%, 40%)
HSVhsv(289, 76%, 64%)
CMYKcmyk(14%, 75.6%, 0%, 35.7%)
CIE-LABlab(37.59, 58.47, -45.95)
CIE-LCHlch(37.59, 74.36, 321.83°)
OKLaboklab(48.79% 0.1503 -0.129)
OKLCHoklch(48.79% 0.198 319.4)
XYZxyz(18.4433, 9.8616, 36.0468)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D28A4 #3FA428
analogous
#4F28A4 #8D28A4 #A4287D
triadic
#8D28A4 #A48D28 #28A48D
tetradic
#8D28A4 #A44F28 #3FA428 #287DA4
square
#8D28A4 #A44F28 #3FA428 #287DA4
split-complementary
#8D28A4 #7DA428 #28A44F
monochromatic
#381042 #631C73 #8D28A4 #B33ACF #C66BDB

Accessibility & contrast

On white

7.07
#8D28A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8D28A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D28A4
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D28A4#FFFFFF#000000##FFFFFF
##8D28A41.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#325CA1
Tritanopia (blue-blind)
#8D4164
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d28a4;
/* rgb */ color: rgb(141, 40, 164);
/* oklch */ color: oklch(48.8% 0.198 319.4);
Tailwind
colors: {
  custom: {
    50: '#b26dc0',
    500: '#8d28a4',
    950: '#000000',
  },
}
SCSS
$custom: #8d28a4;
$custom-light: #b26dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d28a4",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 288.871,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.48786,
    "c": 0.19804,
    "h": 319.4
  },
  "luminance": 0.09861
}

Semantic roles & 50–950 ramp

primary
#8D28A4
secondary
#77C166
accent
#E44462
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D28A4

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

Preview Lab → · Contrast checker → · Palette generator →

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