#8D28A2#8D28A2

#8D28A2 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.196 H 320.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8D28A2
RGBrgb(141, 40, 162)
HSLhsl(290, 60%, 40%)
HSVhsv(290, 75%, 64%)
CMYKcmyk(13%, 75.3%, 0%, 36.5%)
CIE-LABlab(37.46, 58.09, -44.96)
CIE-LCHlch(37.46, 73.45, 322.26°)
OKLaboklab(48.65% 0.1505 -0.1261)
OKLCHoklch(48.65% 0.196 320)
XYZxyz(18.2641, 9.7899, 35.1030)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D28A2 #3DA228
analogous
#5028A2 #8D28A2 #A2287A
triadic
#8D28A2 #A28D28 #28A28D
tetradic
#8D28A2 #A25028 #3DA228 #287AA2
square
#8D28A2 #A25028 #3DA228 #287AA2
split-complementary
#8D28A2 #7AA228 #28A250
monochromatic
#381040 #621C71 #8D28A2 #B439CE #C76ADA

Accessibility & contrast

On white

7.10
#8D28A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8D28A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D28A2
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D28A2#FFFFFF#000000##FFFFFF
##8D28A21.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#345C9F
Tritanopia (blue-blind)
#8D4163
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d28a2;
/* rgb */ color: rgb(141, 40, 162);
/* oklch */ color: oklch(48.7% 0.196 320.0);
Tailwind
colors: {
  custom: {
    50: '#b26dbe',
    500: '#8d28a2',
    950: '#000000',
  },
}
SCSS
$custom: #8d28a2;
$custom-light: #b26dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8d28a2",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 289.672,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48652,
    "c": 0.19631,
    "h": 320
  },
  "luminance": 0.09789
}

Semantic roles & 50–950 ramp

primary
#8D28A2
secondary
#75C165
accent
#E44460
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D28A2

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

Preview Lab → · Contrast checker → · Palette generator →

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