#8F28AF#8F28AF

#8F28AF is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.208 H 316.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8F28AF
RGBrgb(143, 40, 175)
HSLhsl(286, 63%, 42%)
HSVhsv(286, 77%, 69%)
CMYKcmyk(18.3%, 77.1%, 0%, 31.4%)
CIE-LABlab(38.64, 60.98, -50.82)
CIE-LCHlch(38.64, 79.38, 320.19°)
OKLaboklab(49.83% 0.1514 -0.1432)
OKLCHoklch(49.83% 0.208 316.6)
XYZxyz(19.8232, 10.4532, 41.5226)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F28AF #48AF28
analogous
#4C28AF #8F28AF #AF288C
triadic
#8F28AF #AF8F28 #28AF8F
tetradic
#8F28AF #AF4C28 #48AF28 #288CAF
square
#8F28AF #AF4C28 #48AF28 #288CAF
split-complementary
#8F28AF #8CAF28 #28AF4C
monochromatic
#3E114B #661D7D #8F28AF #B141D4 #C573DF

Accessibility & contrast

On white

6.80
#8F28AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8F28AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F28AF
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F28AF#FFFFFF#000000##FFFFFF
##8F28AF1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#285EAC
Tritanopia (blue-blind)
#8D466B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f28af;
/* rgb */ color: rgb(143, 40, 175);
/* oklch */ color: oklch(49.8% 0.208 316.6);
Tailwind
colors: {
  custom: {
    50: '#b46ec8',
    500: '#8f28af',
    950: '#000000',
  },
}
SCSS
$custom: #8f28af;
$custom-light: #b46ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f28af",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 285.778,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49827,
    "c": 0.20835,
    "h": 316.6
  },
  "luminance": 0.10452
}

Semantic roles & 50–950 ramp

primary
#8F28AF
secondary
#82C66D
accent
#E64269
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F28AF

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

Preview Lab → · Contrast checker → · Palette generator →

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