#8F3DA4#8F3DA4

#8F3DA4 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.3% C 0.172 H 318.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8F3DA4
RGBrgb(143, 61, 164)
HSLhsl(288, 46%, 44%)
HSVhsv(288, 63%, 64%)
CMYKcmyk(12.8%, 62.8%, 0%, 35.7%)
CIE-LABlab(40.99, 50.24, -40.50)
CIE-LCHlch(40.99, 64.53, 321.12°)
OKLaboklab(51.29% 0.1298 -0.1131)
OKLCHoklch(51.29% 0.172 318.9)
XYZxyz(19.6964, 11.8583, 36.3661)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DA4 #52A43D
analogous
#5C3DA4 #8F3DA4 #A43D86
triadic
#8F3DA4 #A48F3D #3DA48F
tetradic
#8F3DA4 #A45C3D #52A43D #3D86A4
square
#8F3DA4 #A45C3D #52A43D #3D86A4
split-complementary
#8F3DA4 #86A43D #3DA45C
monochromatic
#411C4B #682C77 #8F3DA4 #AD5CC2 #C488D3

Accessibility & contrast

On white

6.23
#8F3DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8F3DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3DA4
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DA4#FFFFFF#000000##FFFFFF
##8F3DA41.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215BA7
Deuteranopia (green-blind)
#4363A1
Tritanopia (blue-blind)
#8F4E6B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f3da4;
/* rgb */ color: rgb(143, 61, 164);
/* oklch */ color: oklch(51.3% 0.172 318.9);
Tailwind
colors: {
  custom: {
    50: '#b378bf',
    500: '#8f3da4',
    950: '#000000',
  },
}
SCSS
$custom: #8f3da4;
$custom-light: #b378bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3da4",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 164
  },
  "hsl": {
    "h": 287.767,
    "s": 45.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51285,
    "c": 0.17217,
    "h": 318.9
  },
  "luminance": 0.11857
}

Semantic roles & 50–950 ramp

primary
#8F3DA4
secondary
#8CBD7F
accent
#D5526D
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8F3DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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