#8F4DA5#8F4DA5

#8F4DA5 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 53.5% C 0.148 H 317.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8F4DA5
RGBrgb(143, 77, 165)
HSLhsl(285, 36%, 47%)
HSVhsv(285, 53%, 65%)
CMYKcmyk(13.3%, 53.3%, 0%, 35.3%)
CIE-LABlab(44.04, 42.39, -36.27)
CIE-LCHlch(44.04, 55.79, 319.45°)
OKLaboklab(53.53% 0.1085 -0.1009)
OKLCHoklch(53.53% 0.148 317.1)
XYZxyz(20.7721, 13.8647, 37.1720)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4DA5 #63A54D
analogous
#634DA5 #8F4DA5 #A54D8F
triadic
#8F4DA5 #A58F4D #4DA58F
tetradic
#8F4DA5 #A5634D #63A54D #4D8FA5
square
#8F4DA5 #A5634D #63A54D #4D8FA5
split-complementary
#8F4DA5 #8FA54D #4DA563
monochromatic
#472652 #6B3A7B #8F4DA5 #AA72BD #C39CD1

Accessibility & contrast

On white

5.57
#8F4DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8F4DA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4DA5
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4DA5#FFFFFF#000000##FFFFFF
##8F4DA51.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A64A8
Deuteranopia (green-blind)
#4F6AA3
Tritanopia (blue-blind)
#8E5A72
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f4da5;
/* rgb */ color: rgb(143, 77, 165);
/* oklch */ color: oklch(53.5% 0.148 317.1);
Tailwind
colors: {
  custom: {
    50: '#b281c0',
    500: '#8f4da5',
    950: '#000000',
  },
}
SCSS
$custom: #8f4da5;
$custom-light: #b281c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4da5",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 165
  },
  "hsl": {
    "h": 285,
    "s": 36.364,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53531,
    "c": 0.14819,
    "h": 317.1
  },
  "luminance": 0.13864
}

Semantic roles & 50–950 ramp

primary
#8F4DA5
secondary
#9CBD90
accent
#CC5B78
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8F4DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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