#8F28A0#8F28A0

#8F28A0 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.195 H 321.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8F28A0
RGBrgb(143, 40, 160)
HSLhsl(292, 60%, 39%)
HSVhsv(292, 75%, 63%)
CMYKcmyk(10.6%, 75%, 0%, 37.3%)
CIE-LABlab(37.66, 58.13, -43.43)
CIE-LCHlch(37.66, 72.56, 323.24°)
OKLaboklab(48.81% 0.1531 -0.1215)
OKLCHoklch(48.81% 0.195 321.6)
XYZxyz(18.4309, 9.8963, 34.1903)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F28A0 #39A028
analogous
#5328A0 #8F28A0 #A02875
triadic
#8F28A0 #A08F28 #28A08F
tetradic
#8F28A0 #A05328 #39A028 #2875A0
square
#8F28A0 #A05328 #39A028 #2875A0
split-complementary
#8F28A0 #75A028 #28A053
monochromatic
#37103E #631C6F #8F28A0 #B838CD #CA69D9

Accessibility & contrast

On white

7.05
#8F28A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8F28A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F28A0
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F28A0#FFFFFF#000000##FFFFFF
##8F28A01.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#385C9D
Tritanopia (blue-blind)
#903F62
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f28a0;
/* rgb */ color: rgb(143, 40, 160);
/* oklch */ color: oklch(48.8% 0.195 321.6);
Tailwind
colors: {
  custom: {
    50: '#b36dbd',
    500: '#8f28a0',
    950: '#000000',
  },
}
SCSS
$custom: #8f28a0;
$custom-light: #b36dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f28a0",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 160
  },
  "hsl": {
    "h": 291.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48812,
    "c": 0.19544,
    "h": 321.6
  },
  "luminance": 0.09895
}

Semantic roles & 50–950 ramp

primary
#8F28A0
secondary
#71C064
accent
#E3455B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F28A0

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

Preview Lab → · Contrast checker → · Palette generator →

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