#8D28B3#8D28B3

#8D28B3 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.211 H 314.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8D28B3
RGBrgb(141, 40, 179)
HSLhsl(284, 63%, 43%)
HSVhsv(284, 78%, 70%)
CMYKcmyk(21.2%, 77.7%, 0%, 29.8%)
CIE-LABlab(38.61, 61.39, -53.26)
CIE-LCHlch(38.61, 81.27, 319.06°)
OKLaboklab(49.83% 0.1482 -0.1504)
OKLCHoklch(49.83% 0.211 314.6)
XYZxyz(19.8786, 10.4357, 43.6062)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D28B3 #4EB328
analogous
#4728B3 #8D28B3 #B32893
triadic
#8D28B3 #B38D28 #28B38D
tetradic
#8D28B3 #B34728 #4EB328 #2893B3
square
#8D28B3 #B34728 #4EB328 #2893B3
split-complementary
#8D28B3 #93B328 #28B347
monochromatic
#3E124F #661D81 #8D28B3 #AD43D5 #C375E0

Accessibility & contrast

On white

6.80
#8D28B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8D28B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D28B3
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D28B3#FFFFFF#000000##FFFFFF
##8D28B31.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#1E5DB0
Tritanopia (blue-blind)
#8A486D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d28b3;
/* rgb */ color: rgb(141, 40, 179);
/* oklch */ color: oklch(49.8% 0.211 314.6);
Tailwind
colors: {
  custom: {
    50: '#b36eca',
    500: '#8d28b3',
    950: '#000000',
  },
}
SCSS
$custom: #8d28b3;
$custom-light: #b36eca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d28b3",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 283.597,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49832,
    "c": 0.21115,
    "h": 314.6
  },
  "luminance": 0.10435
}

Semantic roles & 50–950 ramp

primary
#8D28B3
secondary
#87C86F
accent
#E6416E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D28B3

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

Preview Lab → · Contrast checker → · Palette generator →

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