#8D28A8#8D28A8

#8D28A8 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.1% C 0.202 H 318.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8D28A8
RGBrgb(141, 40, 168)
HSLhsl(287, 62%, 41%)
HSVhsv(287, 76%, 66%)
CMYKcmyk(16.1%, 76.2%, 0%, 34.1%)
CIE-LABlab(37.86, 59.23, -47.93)
CIE-LCHlch(37.86, 76.20, 321.02°)
OKLaboklab(49.06% 0.1498 -0.1348)
OKLCHoklch(49.06% 0.202 318)
XYZxyz(18.8102, 10.0083, 37.9792)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D28A8 #43A828
analogous
#4D28A8 #8D28A8 #A82883
triadic
#8D28A8 #A88D28 #28A88D
tetradic
#8D28A8 #A84D28 #43A828 #2883A8
square
#8D28A8 #A84D28 #43A828 #2883A8
split-complementary
#8D28A8 #83A828 #28A84D
monochromatic
#3A1045 #641C77 #8D28A8 #B13DD1 #C56EDC

Accessibility & contrast

On white

7.00
#8D28A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8D28A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D28A8
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D28A8#FFFFFF#000000##FFFFFF
##8D28A81.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#2E5CA5
Tritanopia (blue-blind)
#8C4367
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d28a8;
/* rgb */ color: rgb(141, 40, 168);
/* oklch */ color: oklch(49.1% 0.202 318.0);
Tailwind
colors: {
  custom: {
    50: '#b26dc2',
    500: '#8d28a8',
    950: '#000000',
  },
}
SCSS
$custom: #8d28a8;
$custom-light: #b26dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d28a8",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 287.344,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49058,
    "c": 0.20152,
    "h": 318
  },
  "luminance": 0.10007
}

Semantic roles & 50–950 ramp

primary
#8D28A8
secondary
#7CC369
accent
#E54365
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8D28A8

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

Preview Lab → · Contrast checker → · Palette generator →

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