#8F2AA3#8F2AA3

#8F2AA3 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.2% C 0.196 H 320.4°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8F2AA3
RGBrgb(143, 42, 163)
HSLhsl(290, 59%, 40%)
HSVhsv(290, 74%, 64%)
CMYKcmyk(12.3%, 74.2%, 0%, 36.1%)
CIE-LABlab(38.09, 57.98, -44.53)
CIE-LCHlch(38.09, 73.11, 322.47°)
OKLaboklab(49.19% 0.1509 -0.1248)
OKLCHoklch(49.19% 0.196 320.4)
XYZxyz(18.7657, 10.1409, 35.6122)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2AA3 #3EA32A
analogous
#532AA3 #8F2AA3 #A32A7A
triadic
#8F2AA3 #A38F2A #2AA38F
tetradic
#8F2AA3 #A3532A #3EA32A #2A7AA3
square
#8F2AA3 #A3532A #3EA32A #2A7AA3
split-complementary
#8F2AA3 #7AA32A #2AA353
monochromatic
#3A1142 #641D72 #8F2AA3 #B53DCD #C86EDA

Accessibility & contrast

On white

6.94
#8F2AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8F2AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2AA3
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2AA3#FFFFFF#000000##FFFFFF
##8F2AA31.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#365DA0
Tritanopia (blue-blind)
#904264
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f2aa3;
/* rgb */ color: rgb(143, 42, 163);
/* oklch */ color: oklch(49.2% 0.196 320.4);
Tailwind
colors: {
  custom: {
    50: '#b36ebf',
    500: '#8f2aa3',
    950: '#000000',
  },
}
SCSS
$custom: #8f2aa3;
$custom-light: #b36ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2aa3",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 290.083,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49185,
    "c": 0.19582,
    "h": 320.4
  },
  "luminance": 0.1014
}

Semantic roles & 50–950 ramp

primary
#8F2AA3
secondary
#77C068
accent
#E2465F
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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