#8D28B7#8D28B7

#8D28B7 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.1% C 0.215 H 313.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8D28B7
RGBrgb(141, 40, 183)
HSLhsl(282, 64%, 44%)
HSVhsv(282, 78%, 72%)
CMYKcmyk(23%, 78.1%, 0%, 28.2%)
CIE-LABlab(38.90, 62.19, -55.17)
CIE-LCHlch(38.90, 83.13, 318.43°)
OKLaboklab(50.12% 0.1475 -0.156)
OKLCHoklch(50.12% 0.215 313.4)
XYZxyz(20.2890, 10.5999, 45.7678)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D28B7 #52B728
analogous
#4528B7 #8D28B7 #B72899
triadic
#8D28B7 #B78D28 #28B78D
tetradic
#8D28B7 #B74528 #52B728 #2899B7
square
#8D28B7 #B74528 #52B728 #2899B7
split-complementary
#8D28B7 #99B728 #28B745
monochromatic
#401253 #661D85 #8D28B7 #AC46D6 #C278E1

Accessibility & contrast

On white

6.73
#8D28B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8D28B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D28B7
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D28B7#FFFFFF#000000##FFFFFF
##8D28B71.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#165EB4
Tritanopia (blue-blind)
#884A6F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d28b7;
/* rgb */ color: rgb(141, 40, 183);
/* oklch */ color: oklch(50.1% 0.215 313.4);
Tailwind
colors: {
  custom: {
    50: '#b36ecd',
    500: '#8d28b7',
    950: '#000000',
  },
}
SCSS
$custom: #8d28b7;
$custom-light: #b36ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d28b7",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 183
  },
  "hsl": {
    "h": 282.378,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50122,
    "c": 0.21468,
    "h": 313.4
  },
  "luminance": 0.10599
}

Semantic roles & 50–950 ramp

primary
#8D28B7
secondary
#8BC972
accent
#E74172
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8D28B7

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

Preview Lab → · Contrast checker → · Palette generator →

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