#8F28A5#8F28A5

#8F28A5 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.200 H 319.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8F28A5
RGBrgb(143, 40, 165)
HSLhsl(289, 61%, 40%)
HSVhsv(289, 76%, 65%)
CMYKcmyk(13.3%, 75.8%, 0%, 35.3%)
CIE-LABlab(37.98, 59.07, -45.92)
CIE-LCHlch(37.98, 74.82, 322.14°)
OKLaboklab(49.14% 0.1526 -0.1288)
OKLCHoklch(49.14% 0.2 319.8)
XYZxyz(18.8772, 10.0748, 36.5403)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F28A5 #3EA528
analogous
#5028A5 #8F28A5 #A5287C
triadic
#8F28A5 #A58F28 #28A58F
tetradic
#8F28A5 #A55028 #3EA528 #287CA5
square
#8F28A5 #A55028 #3EA528 #287CA5
split-complementary
#8F28A5 #7CA528 #28A550
monochromatic
#3A1042 #641C74 #8F28A5 #B53BCF #C86CDB

Accessibility & contrast

On white

6.97
#8F28A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8F28A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F28A5
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F28A5#FFFFFF#000000##FFFFFF
##8F28A51.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#335DA2
Tritanopia (blue-blind)
#8F4265
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f28a5;
/* rgb */ color: rgb(143, 40, 165);
/* oklch */ color: oklch(49.1% 0.200 319.8);
Tailwind
colors: {
  custom: {
    50: '#b46dc0',
    500: '#8f28a5',
    950: '#000000',
  },
}
SCSS
$custom: #8f28a5;
$custom-light: #b46dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f28a5",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 289.44,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49142,
    "c": 0.1997,
    "h": 319.8
  },
  "luminance": 0.10074
}

Semantic roles & 50–950 ramp

primary
#8F28A5
secondary
#77C267
accent
#E44460
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F28A5

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

Preview Lab → · Contrast checker → · Palette generator →

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