#8F4DAF#8F4DAF

#8F4DAF is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.1% C 0.159 H 313.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8F4DAF
RGBrgb(143, 77, 175)
HSLhsl(280, 39%, 49%)
HSVhsv(280, 56%, 69%)
CMYKcmyk(18.3%, 56%, 0%, 31.4%)
CIE-LABlab(44.58, 44.56, -41.32)
CIE-LCHlch(44.58, 60.77, 317.16°)
OKLaboklab(54.11% 0.1093 -0.1156)
OKLCHoklch(54.11% 0.159 313.4)
XYZxyz(21.7181, 14.2431, 42.1543)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4DAF #6DAF4D
analogous
#5E4DAF #8F4DAF #AF4D9E
triadic
#8F4DAF #AF8F4D #4DAF8F
tetradic
#8F4DAF #AF5E4D #6DAF4D #4D9EAF
square
#8F4DAF #AF5E4D #6DAF4D #4D9EAF
split-complementary
#8F4DAF #9EAF4D #4DAF5E
monochromatic
#4A285A #6C3A85 #8F4DAF #AA76C3 #C4A1D6

Accessibility & contrast

On white

5.46
#8F4DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8F4DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4DAF
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4DAF#FFFFFF#000000##FFFFFF
##8F4DAF1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3266B2
Deuteranopia (green-blind)
#496BAD
Tritanopia (blue-blind)
#8C5E77
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f4daf;
/* rgb */ color: rgb(143, 77, 175);
/* oklch */ color: oklch(54.1% 0.159 313.4);
Tailwind
colors: {
  custom: {
    50: '#b282c7',
    500: '#8f4daf',
    950: '#000000',
  },
}
SCSS
$custom: #8f4daf;
$custom-light: #b282c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4daf",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 280.408,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54105,
    "c": 0.15912,
    "h": 313.4
  },
  "luminance": 0.14243
}

Semantic roles & 50–950 ramp

primary
#8F4DAF
secondary
#A4C395
accent
#CF597F
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8F4DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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