#8F2AA5#8F2AA5

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

Color values

HEX#8F2AA5
RGBrgb(143, 42, 165)
HSLhsl(289, 59%, 41%)
HSVhsv(289, 75%, 65%)
CMYKcmyk(13.3%, 74.5%, 0%, 35.3%)
CIE-LABlab(38.22, 58.36, -45.53)
CIE-LCHlch(38.22, 74.02, 322.04°)
OKLaboklab(49.32% 0.1507 -0.1277)
OKLCHoklch(49.32% 0.198 319.7)
XYZxyz(18.9463, 10.2131, 36.5634)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2AA5 #40A52A
analogous
#512AA5 #8F2AA5 #A52A7D
triadic
#8F2AA5 #A58F2A #2AA58F
tetradic
#8F2AA5 #A5512A #40A52A #2A7DA5
square
#8F2AA5 #A5512A #40A52A #2A7DA5
split-complementary
#8F2AA5 #7DA52A #2AA551
monochromatic
#3A1143 #651E74 #8F2AA5 #B43ECE #C76FDA

Accessibility & contrast

On white

6.90
#8F2AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F2AA5
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2AA5#FFFFFF#000000##FFFFFF
##8F2AA51.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#355DA2
Tritanopia (blue-blind)
#8F4366
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f2aa5;
/* rgb */ color: rgb(143, 42, 165);
/* oklch */ color: oklch(49.3% 0.198 319.7);
Tailwind
colors: {
  custom: {
    50: '#b46ec0',
    500: '#8f2aa5',
    950: '#000000',
  },
}
SCSS
$custom: #8f2aa5;
$custom-light: #b46ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2aa5",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 289.268,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49317,
    "c": 0.19755,
    "h": 319.7
  },
  "luminance": 0.10212
}

Semantic roles & 50–950 ramp

primary
#8F2AA5
secondary
#79C169
accent
#E34561
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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