#8F4C97#8F4C97

#8F4C97 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 52.6% C 0.135 H 323.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8F4C97
RGBrgb(143, 76, 151)
HSLhsl(294, 33%, 45%)
HSVhsv(294, 50%, 59%)
CMYKcmyk(5.3%, 49.7%, 0%, 40.8%)
CIE-LABlab(43.13, 40.02, -29.35)
CIE-LCHlch(43.13, 49.63, 323.75°)
OKLaboklab(52.63% 0.1081 -0.0809)
OKLCHoklch(52.63% 0.135 323.2)
XYZxyz(19.4975, 13.2438, 30.8014)
Luminance0.1324 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4C97 #54974C
analogous
#6A4C97 #8F4C97 #974C7A
triadic
#8F4C97 #978F4C #4C978F
tetradic
#8F4C97 #976A4C #54974C #4C7A97
square
#8F4C97 #976A4C #54974C #4C7A97
split-complementary
#8F4C97 #7A974C #4C976A
monochromatic
#422346 #68386E #8F4C97 #AD6BB5 #C494C9

Accessibility & contrast

On white

5.76
#8F4C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8F4C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4C97
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4C97#FFFFFF#000000##FFFFFF
##8F4C971.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42619A
Deuteranopia (green-blind)
#566995
Tritanopia (blue-blind)
#91556A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f4c97;
/* rgb */ color: rgb(143, 76, 151);
/* oklch */ color: oklch(52.6% 0.135 323.2);
Tailwind
colors: {
  custom: {
    50: '#b180b6',
    500: '#8f4c97',
    950: '#000000',
  },
}
SCSS
$custom: #8f4c97;
$custom-light: #b180b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4c97",
  "rgb": {
    "r": 143,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 293.6,
    "s": 33.04,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52628,
    "c": 0.13505,
    "h": 323.2
  },
  "luminance": 0.13243
}

Semantic roles & 50–950 ramp

primary
#8F4C97
secondary
#8EB689
accent
#C95F6A
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8F4C97

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

Preview Lab → · Contrast checker → · Palette generator →

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