#8F28A9#8F28A9

#8F28A9 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.203 H 318.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8F28A9
RGBrgb(143, 40, 169)
HSLhsl(288, 62%, 41%)
HSVhsv(288, 76%, 66%)
CMYKcmyk(15.4%, 76.3%, 0%, 33.7%)
CIE-LABlab(38.24, 59.82, -47.90)
CIE-LCHlch(38.24, 76.64, 321.32°)
OKLaboklab(49.41% 0.1522 -0.1346)
OKLCHoklch(49.41% 0.203 318.5)
XYZxyz(19.2469, 10.2227, 38.4878)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F28A9 #42A928
analogous
#4E28A9 #8F28A9 #A92882
triadic
#8F28A9 #A98F28 #28A98F
tetradic
#8F28A9 #A94E28 #42A928 #2882A9
square
#8F28A9 #A94E28 #42A928 #2882A9
split-complementary
#8F28A9 #82A928 #28A94E
monochromatic
#3B1146 #651C78 #8F28A9 #B33DD1 #C76FDD

Accessibility & contrast

On white

6.90
#8F28A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8F28A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F28A9
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F28A9#FFFFFF#000000##FFFFFF
##8F28A91.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#2F5DA6
Tritanopia (blue-blind)
#8E4367
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f28a9;
/* rgb */ color: rgb(143, 40, 169);
/* oklch */ color: oklch(49.4% 0.203 318.5);
Tailwind
colors: {
  custom: {
    50: '#b46ec3',
    500: '#8f28a9',
    950: '#000000',
  },
}
SCSS
$custom: #8f28a9;
$custom-light: #b46ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f28a9",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 287.907,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49413,
    "c": 0.20316,
    "h": 318.5
  },
  "luminance": 0.10222
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F28A9

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

Preview Lab → · Contrast checker → · Palette generator →

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