#8F2AAE#8F2AAE

#8F2AAE is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 49.9% C 0.205 H 316.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8F2AAE
RGBrgb(143, 42, 174)
HSLhsl(286, 61%, 42%)
HSVhsv(286, 76%, 68%)
CMYKcmyk(17.8%, 75.9%, 0%, 31.8%)
CIE-LABlab(38.82, 60.10, -49.95)
CIE-LCHlch(38.82, 78.14, 320.27°)
OKLaboklab(49.93% 0.1497 -0.1406)
OKLCHoklch(49.93% 0.205 316.8)
XYZxyz(19.7945, 10.5524, 41.0303)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2AAE #49AE2A
analogous
#4D2AAE #8F2AAE #AE2A8B
triadic
#8F2AAE #AE8F2A #2AAE8F
tetradic
#8F2AAE #AE4D2A #49AE2A #2A8BAE
square
#8F2AAE #AE4D2A #49AE2A #2A8BAE
split-complementary
#8F2AAE #8BAE2A #2AAE4D
monochromatic
#3E124B #661E7D #8F2AAE #B043D2 #C575DE

Accessibility & contrast

On white

6.75
#8F2AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8F2AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2AAE
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2AAE#FFFFFF#000000##FFFFFF
##8F2AAE1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#2B5EAB
Tritanopia (blue-blind)
#8D476B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f2aae;
/* rgb */ color: rgb(143, 42, 174);
/* oklch */ color: oklch(49.9% 0.205 316.8);
Tailwind
colors: {
  custom: {
    50: '#b46fc7',
    500: '#8f2aae',
    950: '#000000',
  },
}
SCSS
$custom: #8f2aae;
$custom-light: #b46fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2aae",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 285.909,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49928,
    "c": 0.20542,
    "h": 316.8
  },
  "luminance": 0.10552
}

Semantic roles & 50–950 ramp

primary
#8F2AAE
secondary
#83C56F
accent
#E44469
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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