#8F28AA#8F28AA

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

Color values

HEX#8F28AA
RGBrgb(143, 40, 170)
HSLhsl(288, 62%, 41%)
HSVhsv(288, 76%, 67%)
CMYKcmyk(15.9%, 76.5%, 0%, 33.3%)
CIE-LABlab(38.31, 60.02, -48.39)
CIE-LCHlch(38.31, 77.09, 321.12°)
OKLaboklab(49.48% 0.152 -0.136)
OKLCHoklch(49.48% 0.204 318.2)
XYZxyz(19.3412, 10.2604, 38.9841)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F28AA #43AA28
analogous
#4E28AA #8F28AA #AA2884
triadic
#8F28AA #AA8F28 #28AA8F
tetradic
#8F28AA #AA4E28 #43AA28 #2884AA
square
#8F28AA #AA4E28 #43AA28 #2884AA
split-complementary
#8F28AA #84AA28 #28AA4E
monochromatic
#3C1147 #651C78 #8F28AA #B33ED2 #C66FDD

Accessibility & contrast

On white

6.88
#8F28AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8F28AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F28AA
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F28AA#FFFFFF#000000##FFFFFF
##8F28AA1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#2E5DA7
Tritanopia (blue-blind)
#8E4468
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f28aa;
/* rgb */ color: rgb(143, 40, 170);
/* oklch */ color: oklch(49.5% 0.204 318.2);
Tailwind
colors: {
  custom: {
    50: '#b46ec4',
    500: '#8f28aa',
    950: '#000000',
  },
}
SCSS
$custom: #8f28aa;
$custom-light: #b46ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f28aa",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 287.538,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49481,
    "c": 0.20401,
    "h": 318.2
  },
  "luminance": 0.1026
}

Semantic roles & 50–950 ramp

primary
#8F28AA
secondary
#7DC46A
accent
#E54364
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F28AA

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

Preview Lab → · Contrast checker → · Palette generator →

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