#8D28B2#8D28B2

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

Color values

HEX#8D28B2
RGBrgb(141, 40, 178)
HSLhsl(284, 63%, 43%)
HSVhsv(284, 78%, 70%)
CMYKcmyk(20.8%, 77.5%, 0%, 30.2%)
CIE-LABlab(38.54, 61.19, -52.78)
CIE-LCHlch(38.54, 80.81, 319.22°)
OKLaboklab(49.76% 0.1484 -0.149)
OKLCHoklch(49.76% 0.21 314.9)
XYZxyz(19.7778, 10.3954, 43.0755)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D28B2 #4DB228
analogous
#4828B2 #8D28B2 #B22892
triadic
#8D28B2 #B28D28 #28B28D
tetradic
#8D28B2 #B24828 #4DB228 #2892B2
square
#8D28B2 #B24828 #4DB228 #2892B2
split-complementary
#8D28B2 #92B228 #28B248
monochromatic
#3E124E #651D80 #8D28B2 #AD43D5 #C375E0

Accessibility & contrast

On white

6.82
#8D28B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8D28B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D28B2
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D28B2#FFFFFF#000000##FFFFFF
##8D28B21.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#205DAF
Tritanopia (blue-blind)
#8A486C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d28b2;
/* rgb */ color: rgb(141, 40, 178);
/* oklch */ color: oklch(49.8% 0.210 314.9);
Tailwind
colors: {
  custom: {
    50: '#b36eca',
    500: '#8d28b2',
    950: '#000000',
  },
}
SCSS
$custom: #8d28b2;
$custom-light: #b36eca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d28b2",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 283.913,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4976,
    "c": 0.21028,
    "h": 314.9
  },
  "luminance": 0.10395
}

Semantic roles & 50–950 ramp

primary
#8D28B2
secondary
#86C76F
accent
#E6416E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D28B2

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

Preview Lab → · Contrast checker → · Palette generator →

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