#8F4DAD#8F4DAD

#8F4DAD is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.0% C 0.157 H 314.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8F4DAD
RGBrgb(143, 77, 173)
HSLhsl(281, 38%, 49%)
HSVhsv(281, 55%, 68%)
CMYKcmyk(17.3%, 55.5%, 0%, 32.2%)
CIE-LABlab(44.47, 44.12, -40.32)
CIE-LCHlch(44.47, 59.77, 317.58°)
OKLaboklab(53.99% 0.1092 -0.1127)
OKLCHoklch(53.99% 0.157 314.1)
XYZxyz(21.5232, 14.1651, 41.1274)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4DAD #6BAD4D
analogous
#5F4DAD #8F4DAD #AD4D9B
triadic
#8F4DAD #AD8F4D #4DAD8F
tetradic
#8F4DAD #AD5F4D #6BAD4D #4D9BAD
square
#8F4DAD #AD5F4D #6BAD4D #4D9BAD
split-complementary
#8F4DAD #9BAD4D #4DAD5F
monochromatic
#492758 #6C3A83 #8F4DAD #AA75C2 #C4A0D5

Accessibility & contrast

On white

5.48
#8F4DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8F4DAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4DAD
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4DAD#FFFFFF#000000##FFFFFF
##8F4DAD1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3465B0
Deuteranopia (green-blind)
#4B6BAB
Tritanopia (blue-blind)
#8D5D76
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f4dad;
/* rgb */ color: rgb(143, 77, 173);
/* oklch */ color: oklch(54.0% 0.157 314.1);
Tailwind
colors: {
  custom: {
    50: '#b282c6',
    500: '#8f4dad',
    950: '#000000',
  },
}
SCSS
$custom: #8f4dad;
$custom-light: #b282c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4dad",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 173
  },
  "hsl": {
    "h": 281.25,
    "s": 38.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53988,
    "c": 0.15691,
    "h": 314.1
  },
  "luminance": 0.14165
}

Semantic roles & 50–950 ramp

primary
#8F4DAD
secondary
#A2C294
accent
#CE597E
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8F4DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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