#8F2AA4#8F2AA4

#8F2AA4 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.197 H 320.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8F2AA4
RGBrgb(143, 42, 164)
HSLhsl(290, 59%, 40%)
HSVhsv(290, 74%, 64%)
CMYKcmyk(12.8%, 74.4%, 0%, 35.7%)
CIE-LABlab(38.16, 58.17, -45.03)
CIE-LCHlch(38.16, 73.56, 322.26°)
OKLaboklab(49.25% 0.1508 -0.1262)
OKLCHoklch(49.25% 0.197 320.1)
XYZxyz(18.8557, 10.1769, 36.0859)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2AA4 #3FA42A
analogous
#522AA4 #8F2AA4 #A42A7C
triadic
#8F2AA4 #A48F2A #2AA48F
tetradic
#8F2AA4 #A4522A #3FA42A #2A7CA4
square
#8F2AA4 #A4522A #3FA42A #2A7CA4
split-complementary
#8F2AA4 #7CA42A #2AA452
monochromatic
#3A1143 #651E73 #8F2AA4 #B53ECD #C76EDA

Accessibility & contrast

On white

6.92
#8F2AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8F2AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2AA4
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2AA4#FFFFFF#000000##FFFFFF
##8F2AA41.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#355DA1
Tritanopia (blue-blind)
#8F4265
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f2aa4;
/* rgb */ color: rgb(143, 42, 164);
/* oklch */ color: oklch(49.3% 0.197 320.1);
Tailwind
colors: {
  custom: {
    50: '#b46ec0',
    500: '#8f2aa4',
    950: '#000000',
  },
}
SCSS
$custom: #8f2aa4;
$custom-light: #b46ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2aa4",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 289.672,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49251,
    "c": 0.19668,
    "h": 320.1
  },
  "luminance": 0.10176
}

Semantic roles & 50–950 ramp

primary
#8F2AA4
secondary
#78C169
accent
#E24560
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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