#8F3DA5#8F3DA5

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

Color values

HEX#8F3DA5
RGBrgb(143, 61, 165)
HSLhsl(287, 46%, 44%)
HSVhsv(287, 63%, 65%)
CMYKcmyk(13.3%, 63%, 0%, 35.3%)
CIE-LABlab(41.05, 50.44, -41.01)
CIE-LCHlch(41.05, 65.01, 320.89°)
OKLaboklab(51.35% 0.1298 -0.1146)
OKLCHoklch(51.35% 0.173 318.6)
XYZxyz(19.7871, 11.8946, 36.8436)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DA5 #53A53D
analogous
#5B3DA5 #8F3DA5 #A53D87
triadic
#8F3DA5 #A58F3D #3DA58F
tetradic
#8F3DA5 #A55B3D #53A53D #3D87A5
square
#8F3DA5 #A55B3D #53A53D #3D87A5
split-complementary
#8F3DA5 #87A53D #3DA55B
monochromatic
#421C4C #682C78 #8F3DA5 #AD5CC3 #C489D3

Accessibility & contrast

On white

6.22
#8F3DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8F3DA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3DA5
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DA5#FFFFFF#000000##FFFFFF
##8F3DA51.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5BA8
Deuteranopia (green-blind)
#4264A2
Tritanopia (blue-blind)
#8F4F6B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f3da5;
/* rgb */ color: rgb(143, 61, 165);
/* oklch */ color: oklch(51.3% 0.173 318.6);
Tailwind
colors: {
  custom: {
    50: '#b378c0',
    500: '#8f3da5',
    950: '#000000',
  },
}
SCSS
$custom: #8f3da5;
$custom-light: #b378c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3da5",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 165
  },
  "hsl": {
    "h": 287.308,
    "s": 46.018,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51346,
    "c": 0.17316,
    "h": 318.6
  },
  "luminance": 0.11894
}

Semantic roles & 50–950 ramp

primary
#8F3DA5
secondary
#8DBE80
accent
#D6526E
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8F3DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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