#8D28AF#8D28AF

#8D28AF is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.5% C 0.208 H 315.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8D28AF
RGBrgb(141, 40, 175)
HSLhsl(285, 63%, 42%)
HSVhsv(285, 77%, 69%)
CMYKcmyk(19.4%, 77.1%, 0%, 31.4%)
CIE-LABlab(38.33, 60.60, -51.34)
CIE-LCHlch(38.33, 79.42, 319.73°)
OKLaboklab(49.55% 0.1489 -0.1448)
OKLCHoklch(49.55% 0.208 315.8)
XYZxyz(19.4799, 10.2762, 41.5065)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D28AF #4AAF28
analogous
#4A28AF #8D28AF #AF288E
triadic
#8D28AF #AF8D28 #28AF8D
tetradic
#8D28AF #AF4A28 #4AAF28 #288EAF
square
#8D28AF #AF4A28 #4AAF28 #288EAF
split-complementary
#8D28AF #8EAF28 #28AF4A
monochromatic
#3D114B #651D7D #8D28AF #AF41D4 #C473DF

Accessibility & contrast

On white

6.87
#8D28AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8D28AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D28AF
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D28AF#FFFFFF#000000##FFFFFF
##8D28AF1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#255DAC
Tritanopia (blue-blind)
#8A476B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d28af;
/* rgb */ color: rgb(141, 40, 175);
/* oklch */ color: oklch(49.5% 0.208 315.8);
Tailwind
colors: {
  custom: {
    50: '#b36ec8',
    500: '#8d28af',
    950: '#000000',
  },
}
SCSS
$custom: #8d28af;
$custom-light: #b36ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d28af",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 284.889,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49546,
    "c": 0.20764,
    "h": 315.8
  },
  "luminance": 0.10275
}

Semantic roles & 50–950 ramp

primary
#8D28AF
secondary
#83C66D
accent
#E6426B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D28AF

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

Preview Lab → · Contrast checker → · Palette generator →

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