#8D28B5#8D28B5

#8D28B5 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.213 H 314.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8D28B5
RGBrgb(141, 40, 181)
HSLhsl(283, 64%, 43%)
HSVhsv(283, 78%, 71%)
CMYKcmyk(22.1%, 77.9%, 0%, 29%)
CIE-LABlab(38.76, 61.79, -54.22)
CIE-LCHlch(38.76, 82.20, 318.74°)
OKLaboklab(49.98% 0.1479 -0.1532)
OKLCHoklch(49.98% 0.213 314)
XYZxyz(20.0824, 10.5172, 44.6792)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D28B5 #50B528
analogous
#4728B5 #8D28B5 #B52896
triadic
#8D28B5 #B58D28 #28B58D
tetradic
#8D28B5 #B54728 #50B528 #2896B5
square
#8D28B5 #B54728 #50B528 #2896B5
split-complementary
#8D28B5 #96B528 #28B547
monochromatic
#3F1251 #661D83 #8D28B5 #AD44D6 #C377E1

Accessibility & contrast

On white

6.77
#8D28B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8D28B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D28B5
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D28B5#FFFFFF#000000##FFFFFF
##8D28B51.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#1B5EB2
Tritanopia (blue-blind)
#89496E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d28b5;
/* rgb */ color: rgb(141, 40, 181);
/* oklch */ color: oklch(50.0% 0.213 314.0);
Tailwind
colors: {
  custom: {
    50: '#b36ecc',
    500: '#8d28b5',
    950: '#000000',
  },
}
SCSS
$custom: #8d28b5;
$custom-light: #b36ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d28b5",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 181
  },
  "hsl": {
    "h": 282.979,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49977,
    "c": 0.21292,
    "h": 314
  },
  "luminance": 0.10516
}

Semantic roles & 50–950 ramp

primary
#8D28B5
secondary
#89C870
accent
#E74170
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8D28B5

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

Preview Lab → · Contrast checker → · Palette generator →

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