#8D28A5#8D28A5

#8D28A5 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.9% C 0.199 H 319.0°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8D28A5
RGBrgb(141, 40, 165)
HSLhsl(288, 61%, 40%)
HSVhsv(288, 76%, 65%)
CMYKcmyk(14.5%, 75.8%, 0%, 35.3%)
CIE-LABlab(37.66, 58.66, -46.45)
CIE-LCHlch(37.66, 74.82, 321.62°)
OKLaboklab(48.85% 0.1502 -0.1304)
OKLCHoklch(48.85% 0.199 319)
XYZxyz(18.5339, 9.8978, 36.5242)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D28A5 #40A528
analogous
#4E28A5 #8D28A5 #A5287E
triadic
#8D28A5 #A58D28 #28A58D
tetradic
#8D28A5 #A54E28 #40A528 #287EA5
square
#8D28A5 #A54E28 #40A528 #287EA5
split-complementary
#8D28A5 #7EA528 #28A54E
monochromatic
#391042 #631C74 #8D28A5 #B33BCF #C66CDB

Accessibility & contrast

On white

7.05
#8D28A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8D28A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D28A5
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D28A5#FFFFFF#000000##FFFFFF
##8D28A51.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#315CA2
Tritanopia (blue-blind)
#8D4265
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d28a5;
/* rgb */ color: rgb(141, 40, 165);
/* oklch */ color: oklch(48.9% 0.199 319.0);
Tailwind
colors: {
  custom: {
    50: '#b26dc0',
    500: '#8d28a5',
    950: '#000000',
  },
}
SCSS
$custom: #8d28a5;
$custom-light: #b26dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d28a5",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 288.48,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48854,
    "c": 0.1989,
    "h": 319
  },
  "luminance": 0.09897
}

Semantic roles & 50–950 ramp

primary
#8D28A5
secondary
#78C267
accent
#E44463
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D28A5

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

Preview Lab → · Contrast checker → · Palette generator →

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