#8F3AA2#8F3AA2

#8F3AA2 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.8% C 0.175 H 319.9°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8F3AA2
RGBrgb(143, 58, 162)
HSLhsl(289, 47%, 43%)
HSVhsv(289, 64%, 64%)
CMYKcmyk(11.7%, 64.2%, 0%, 36.5%)
CIE-LABlab(40.37, 51.22, -40.30)
CIE-LCHlch(40.37, 65.17, 321.81°)
OKLaboklab(50.8% 0.1335 -0.1125)
OKLCHoklch(50.8% 0.175 319.9)
XYZxyz(19.3615, 11.4753, 35.3705)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3AA2 #4DA23A
analogous
#5B3AA2 #8F3AA2 #A23A81
triadic
#8F3AA2 #A28F3A #3AA28F
tetradic
#8F3AA2 #A25B3A #4DA23A #3A81A2
square
#8F3AA2 #A25B3A #4DA23A #3A81A2
split-complementary
#8F3AA2 #81A23A #3AA25B
monochromatic
#3F1A48 #672A75 #8F3AA2 #AF57C3 #C484D3

Accessibility & contrast

On white

6.37
#8F3AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8F3AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3AA2
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3AA2#FFFFFF#000000##FFFFFF
##8F3AA21.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D59A5
Deuteranopia (green-blind)
#42629F
Tritanopia (blue-blind)
#904B69
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f3aa2;
/* rgb */ color: rgb(143, 58, 162);
/* oklch */ color: oklch(50.8% 0.175 319.9);
Tailwind
colors: {
  custom: {
    50: '#b376be',
    500: '#8f3aa2',
    950: '#000000',
  },
}
SCSS
$custom: #8f3aa2;
$custom-light: #b376be;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3aa2",
  "rgb": {
    "r": 143,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 289.038,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50798,
    "c": 0.17455,
    "h": 319.9
  },
  "luminance": 0.11474
}

Semantic roles & 50–950 ramp

primary
#8F3AA2
secondary
#87BD7B
accent
#D75169
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8F3AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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