#8F2AA0#8F2AA0

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

Color values

HEX#8F2AA0
RGBrgb(143, 42, 160)
HSLhsl(291, 58%, 40%)
HSVhsv(291, 74%, 63%)
CMYKcmyk(10.6%, 73.8%, 0%, 37.3%)
CIE-LABlab(37.90, 57.42, -43.03)
CIE-LCHlch(37.90, 71.75, 323.15°)
OKLaboklab(48.99% 0.1512 -0.1204)
OKLCHoklch(48.99% 0.193 321.5)
XYZxyz(18.5001, 10.0346, 34.2133)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2AA0 #3BA02A
analogous
#542AA0 #8F2AA0 #A02A76
triadic
#8F2AA0 #A08F2A #2AA08F
tetradic
#8F2AA0 #A0542A #3BA02A #2A76A0
square
#8F2AA0 #A0542A #3BA02A #2A76A0
split-complementary
#8F2AA0 #76A02A #2AA054
monochromatic
#38113F #641D70 #8F2AA0 #B73CCC #C96CD8

Accessibility & contrast

On white

6.98
#8F2AA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F2AA0
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2AA0#FFFFFF#000000##FFFFFF
##8F2AA01.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#395D9D
Tritanopia (blue-blind)
#904063
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f2aa0;
/* rgb */ color: rgb(143, 42, 160);
/* oklch */ color: oklch(49.0% 0.193 321.5);
Tailwind
colors: {
  custom: {
    50: '#b36ebd',
    500: '#8f2aa0',
    950: '#000000',
  },
}
SCSS
$custom: #8f2aa0;
$custom-light: #b36ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2aa0",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 291.356,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48989,
    "c": 0.19323,
    "h": 321.5
  },
  "luminance": 0.10034
}

Semantic roles & 50–950 ramp

primary
#8F2AA0
secondary
#73BF67
accent
#E2465D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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