#8F4CAF#8F4CAF

#8F4CAF is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.0% C 0.161 H 313.5°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8F4CAF
RGBrgb(143, 76, 175)
HSLhsl(281, 39%, 49%)
HSVhsv(281, 57%, 69%)
CMYKcmyk(18.3%, 56.6%, 0%, 31.4%)
CIE-LABlab(44.38, 45.08, -41.63)
CIE-LCHlch(44.38, 61.37, 317.28°)
OKLaboklab(53.96% 0.1107 -0.1165)
OKLCHoklch(53.96% 0.161 313.5)
XYZxyz(21.6487, 14.1043, 42.1311)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4CAF #6CAF4C
analogous
#5E4CAF #8F4CAF #AF4C9E
triadic
#8F4CAF #AF8F4C #4CAF8F
tetradic
#8F4CAF #AF5E4C #6CAF4C #4C9EAF
square
#8F4CAF #AF5E4C #6CAF4C #4C9EAF
split-complementary
#8F4CAF #9EAF4C #4CAF5E
monochromatic
#49275A #6C3984 #8F4CAF #AA75C3 #C4A0D6

Accessibility & contrast

On white

5.50
#8F4CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8F4CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4CAF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4CAF#FFFFFF#000000##FFFFFF
##8F4CAF1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#486BAC
Tritanopia (blue-blind)
#8C5D76
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f4caf;
/* rgb */ color: rgb(143, 76, 175);
/* oklch */ color: oklch(54.0% 0.161 313.5);
Tailwind
colors: {
  custom: {
    50: '#b281c7',
    500: '#8f4caf',
    950: '#000000',
  },
}
SCSS
$custom: #8f4caf;
$custom-light: #b281c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4caf",
  "rgb": {
    "r": 143,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 280.606,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5396,
    "c": 0.16071,
    "h": 313.5
  },
  "luminance": 0.14104
}

Semantic roles & 50–950 ramp

primary
#8F4CAF
secondary
#A3C294
accent
#CF587F
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8F4CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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