#8F2AA6#8F2AA6

#8F2AA6 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.4% C 0.198 H 319.4°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8F2AA6
RGBrgb(143, 42, 166)
HSLhsl(289, 60%, 41%)
HSVhsv(289, 75%, 65%)
CMYKcmyk(13.9%, 74.7%, 0%, 34.9%)
CIE-LABlab(38.29, 58.55, -46.02)
CIE-LCHlch(38.29, 74.47, 321.83°)
OKLaboklab(49.38% 0.1507 -0.1291)
OKLCHoklch(49.38% 0.198 319.4)
XYZxyz(19.0377, 10.2497, 37.0446)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2AA6 #41A62A
analogous
#512AA6 #8F2AA6 #A62A7F
triadic
#8F2AA6 #A68F2A #2AA68F
tetradic
#8F2AA6 #A6512A #41A62A #2A7FA6
square
#8F2AA6 #A6512A #41A62A #2A7FA6
split-complementary
#8F2AA6 #7FA62A #2AA651
monochromatic
#3B1144 #651E75 #8F2AA6 #B43FCE #C770DB

Accessibility & contrast

On white

6.89
#8F2AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8F2AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2AA6
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2AA6#FFFFFF#000000##FFFFFF
##8F2AA61.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#345DA3
Tritanopia (blue-blind)
#8F4366
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f2aa6;
/* rgb */ color: rgb(143, 42, 166);
/* oklch */ color: oklch(49.4% 0.198 319.4);
Tailwind
colors: {
  custom: {
    50: '#b46ec1',
    500: '#8f2aa6',
    950: '#000000',
  },
}
SCSS
$custom: #8f2aa6;
$custom-light: #b46ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2aa6",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 288.871,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49384,
    "c": 0.19842,
    "h": 319.4
  },
  "luminance": 0.10249
}

Semantic roles & 50–950 ramp

primary
#8F2AA6
secondary
#7AC26A
accent
#E34562
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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