#8F4E8A#8F4E8A

#8F4E8A is a mid, moderate purple. Relative luminance 0.131; OKLCH L 52.3% C 0.118 H 330.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8F4E8A
RGBrgb(143, 78, 138)
HSLhsl(305, 29%, 43%)
HSVhsv(305, 45%, 56%)
CMYKcmyk(0%, 45.5%, 3.5%, 43.9%)
CIE-LABlab(42.95, 36.40, -21.79)
CIE-LCHlch(42.95, 42.42, 329.09°)
OKLaboklab(52.3% 0.1026 -0.0593)
OKLCHoklch(52.3% 0.119 330)
XYZxyz(18.6393, 13.1244, 25.5913)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4E8A #4E8F53
analogous
#734E8F #8F4E8A #8F4E69
triadic
#8F4E8A #8A8F4E #4E8A8F
tetradic
#8F4E8A #8F734E #4E8F53 #4E698F
square
#8F4E8A #8F734E #4E8F53 #4E698F
split-complementary
#8F4E8A #698F4E #4E8F73
monochromatic
#40233E #673864 #8F4E8A #AF6CA9 #C493C0

Accessibility & contrast

On white

5.79
#8F4E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8F4E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4E8A
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4E8A#FFFFFF#000000##FFFFFF
##8F4E8A1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608C
Deuteranopia (green-blind)
#5D6988
Tritanopia (blue-blind)
#935365
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f4e8a;
/* rgb */ color: rgb(143, 78, 138);
/* oklch */ color: oklch(52.3% 0.118 330.0);
Tailwind
colors: {
  custom: {
    50: '#b182ac',
    500: '#8f4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #8f4e8a;
$custom-light: #b182ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4e8a",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 304.615,
    "s": 29.412,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52301,
    "c": 0.1185,
    "h": 330
  },
  "luminance": 0.13123
}

Semantic roles & 50–950 ramp

primary
#8F4E8A
secondary
#88B18B
accent
#C66A62
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#110A10
muted
#807C7F

Preview Lab

Preview with #8F4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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