#8F3AA5#8F3AA5

#8F3AA5 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.0% C 0.177 H 318.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8F3AA5
RGBrgb(143, 58, 165)
HSLhsl(288, 48%, 44%)
HSVhsv(288, 65%, 65%)
CMYKcmyk(13.3%, 64.8%, 0%, 35.3%)
CIE-LABlab(40.55, 51.82, -41.81)
CIE-LCHlch(40.55, 66.59, 321.10°)
OKLaboklab(50.98% 0.1335 -0.1169)
OKLCHoklch(50.98% 0.177 318.8)
XYZxyz(19.6314, 11.5832, 36.7917)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3AA5 #50A53A
analogous
#593AA5 #8F3AA5 #A53A85
triadic
#8F3AA5 #A58F3A #3AA58F
tetradic
#8F3AA5 #A5593A #50A53A #3A85A5
square
#8F3AA5 #A5593A #50A53A #3A85A5
split-complementary
#8F3AA5 #85A53A #3AA559
monochromatic
#411A4A #682A78 #8F3AA5 #AE58C4 #C485D4

Accessibility & contrast

On white

6.33
#8F3AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8F3AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3AA5
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3AA5#FFFFFF#000000##FFFFFF
##8F3AA51.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185AA8
Deuteranopia (green-blind)
#4062A2
Tritanopia (blue-blind)
#8F4D6A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f3aa5;
/* rgb */ color: rgb(143, 58, 165);
/* oklch */ color: oklch(51.0% 0.177 318.8);
Tailwind
colors: {
  custom: {
    50: '#b376c0',
    500: '#8f3aa5',
    950: '#000000',
  },
}
SCSS
$custom: #8f3aa5;
$custom-light: #b376c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3aa5",
  "rgb": {
    "r": 143,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 287.664,
    "s": 47.982,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50982,
    "c": 0.17744,
    "h": 318.8
  },
  "luminance": 0.11582
}

Semantic roles & 50–950 ramp

primary
#8F3AA5
secondary
#8ABE7D
accent
#D8506C
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8F3AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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