#8F4591#8F4591

#8F4591 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.3% C 0.141 H 326.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8F4591
RGBrgb(143, 69, 145)
HSLhsl(298, 36%, 42%)
HSVhsv(298, 52%, 57%)
CMYKcmyk(1.4%, 52.4%, 0%, 43.1%)
CIE-LABlab(41.44, 42.53, -28.37)
CIE-LCHlch(41.44, 51.12, 326.29°)
OKLaboklab(51.29% 0.1174 -0.078)
OKLCHoklch(51.29% 0.141 326.4)
XYZxyz(18.5663, 12.1412, 28.1481)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4591 #479145
analogous
#694591 #8F4591 #91456D
triadic
#8F4591 #918F45 #45918F
tetradic
#8F4591 #916945 #479145 #456D91
square
#8F4591 #916945 #479145 #456D91
split-complementary
#8F4591 #6D9145 #459169
monochromatic
#3D1E3E #663168 #8F4591 #B160B3 #C589C7

Accessibility & contrast

On white

6.13
#8F4591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8F4591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4591
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4591#FFFFFF#000000##FFFFFF
##8F45911.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5C93
Deuteranopia (green-blind)
#53658F
Tritanopia (blue-blind)
#934E64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f4591;
/* rgb */ color: rgb(143, 69, 145);
/* oklch */ color: oklch(51.3% 0.141 326.4);
Tailwind
colors: {
  custom: {
    50: '#b27cb1',
    500: '#8f4591',
    950: '#000000',
  },
}
SCSS
$custom: #8f4591;
$custom-light: #b27cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4591",
  "rgb": {
    "r": 143,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 298.421,
    "s": 35.514,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51285,
    "c": 0.141,
    "h": 326.4
  },
  "luminance": 0.1214
}

Semantic roles & 50–950 ramp

primary
#8F4591
secondary
#81B280
accent
#CC5C5F
background
#FBF7FA
surface
#F6EEF5
border
#D0C9CF
text
#110A11
muted
#807C80

Preview Lab

Preview with #8F4591

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

Preview Lab → · Contrast checker → · Palette generator →

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