#8F2AAF#8F2AAF

#8F2AAF is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.206 H 316.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8F2AAF
RGBrgb(143, 42, 175)
HSLhsl(286, 61%, 43%)
HSVhsv(286, 76%, 69%)
CMYKcmyk(18.3%, 76%, 0%, 31.4%)
CIE-LABlab(38.88, 60.29, -50.43)
CIE-LCHlch(38.88, 78.61, 320.09°)
OKLaboklab(50% 0.1496 -0.1421)
OKLCHoklch(50% 0.206 316.5)
XYZxyz(19.8923, 10.5915, 41.5457)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2AAF #4AAF2A
analogous
#4D2AAF #8F2AAF #AF2A8C
triadic
#8F2AAF #AF8F2A #2AAF8F
tetradic
#8F2AAF #AF4D2A #4AAF2A #2A8CAF
square
#8F2AAF #AF4D2A #4AAF2A #2A8CAF
split-complementary
#8F2AAF #8CAF2A #2AAF4D
monochromatic
#3E124C #671E7E #8F2AAF #B044D2 #C575DE

Accessibility & contrast

On white

6.73
#8F2AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8F2AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2AAF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2AAF#FFFFFF#000000##FFFFFF
##8F2AAF1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#2A5EAC
Tritanopia (blue-blind)
#8D476B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f2aaf;
/* rgb */ color: rgb(143, 42, 175);
/* oklch */ color: oklch(50.0% 0.206 316.5);
Tailwind
colors: {
  custom: {
    50: '#b46fc8',
    500: '#8f2aaf',
    950: '#000000',
  },
}
SCSS
$custom: #8f2aaf;
$custom-light: #b46fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2aaf",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 285.564,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49997,
    "c": 0.2063,
    "h": 316.5
  },
  "luminance": 0.10591
}

Semantic roles & 50–950 ramp

primary
#8F2AAF
secondary
#84C66F
accent
#E4436A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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