#8F28A3#8F28A3

#8F28A3 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.198 H 320.5°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8F28A3
RGBrgb(143, 40, 163)
HSLhsl(290, 61%, 40%)
HSVhsv(290, 75%, 64%)
CMYKcmyk(12.3%, 75.5%, 0%, 36.1%)
CIE-LABlab(37.85, 58.69, -44.93)
CIE-LCHlch(37.85, 73.91, 322.56°)
OKLaboklab(49.01% 0.1528 -0.1259)
OKLCHoklch(49.01% 0.198 320.5)
XYZxyz(18.6966, 10.0026, 35.5891)
Luminance0.1000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F28A3 #3CA328
analogous
#5228A3 #8F28A3 #A32879
triadic
#8F28A3 #A38F28 #28A38F
tetradic
#8F28A3 #A35228 #3CA328 #2879A3
square
#8F28A3 #A35228 #3CA328 #2879A3
split-complementary
#8F28A3 #79A328 #28A352
monochromatic
#391041 #641C72 #8F28A3 #B63ACF #C86BDB

Accessibility & contrast

On white

7.00
#8F28A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8F28A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F28A3
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F28A3#FFFFFF#000000##FFFFFF
##8F28A31.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#355DA0
Tritanopia (blue-blind)
#904164
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f28a3;
/* rgb */ color: rgb(143, 40, 163);
/* oklch */ color: oklch(49.0% 0.198 320.5);
Tailwind
colors: {
  custom: {
    50: '#b46dbf',
    500: '#8f28a3',
    950: '#000000',
  },
}
SCSS
$custom: #8f28a3;
$custom-light: #b46dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f28a3",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 290.244,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49009,
    "c": 0.19799,
    "h": 320.5
  },
  "luminance": 0.10002
}

Semantic roles & 50–950 ramp

primary
#8F28A3
secondary
#75C166
accent
#E4445E
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F28A3

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

Preview Lab → · Contrast checker → · Palette generator →

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