#8F28AE#8F28AE

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

Color values

HEX#8F28AE
RGBrgb(143, 40, 174)
HSLhsl(286, 63%, 42%)
HSVhsv(286, 77%, 68%)
CMYKcmyk(17.8%, 77%, 0%, 31.8%)
CIE-LABlab(38.58, 60.79, -50.34)
CIE-LCHlch(38.58, 78.92, 320.37°)
OKLaboklab(49.76% 0.1515 -0.1418)
OKLCHoklch(49.76% 0.207 316.9)
XYZxyz(19.7253, 10.4141, 41.0073)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F28AE #47AE28
analogous
#4C28AE #8F28AE #AE288A
triadic
#8F28AE #AE8F28 #28AE8F
tetradic
#8F28AE #AE4C28 #47AE28 #288AAE
square
#8F28AE #AE4C28 #47AE28 #288AAE
split-complementary
#8F28AE #8AAE28 #28AE4C
monochromatic
#3D114A #661D7C #8F28AE #B140D3 #C572DF

Accessibility & contrast

On white

6.81
#8F28AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F28AE
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F28AE#FFFFFF#000000##FFFFFF
##8F28AE1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#2A5EAB
Tritanopia (blue-blind)
#8D466A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f28ae;
/* rgb */ color: rgb(143, 40, 174);
/* oklch */ color: oklch(49.8% 0.207 316.9);
Tailwind
colors: {
  custom: {
    50: '#b46ec7',
    500: '#8f28ae',
    950: '#000000',
  },
}
SCSS
$custom: #8f28ae;
$custom-light: #b46ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f28ae",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 286.119,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49757,
    "c": 0.20749,
    "h": 316.9
  },
  "luminance": 0.10413
}

Semantic roles & 50–950 ramp

primary
#8F28AE
secondary
#81C66C
accent
#E64268
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F28AE

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

Preview Lab → · Contrast checker → · Palette generator →

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