#8F4792#8F4792

#8F4792 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 51.6% C 0.139 H 325.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8F4792
RGBrgb(143, 71, 146)
HSLhsl(298, 35%, 43%)
HSVhsv(298, 51%, 57%)
CMYKcmyk(2.1%, 51.4%, 0%, 42.7%)
CIE-LABlab(41.88, 41.68, -28.29)
CIE-LCHlch(41.88, 50.37, 325.84°)
OKLaboklab(51.63% 0.1147 -0.0778)
OKLCHoklch(51.63% 0.139 325.8)
XYZxyz(18.7688, 12.4224, 28.5977)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4792 #4A9247
analogous
#694792 #8F4792 #92476F
triadic
#8F4792 #928F47 #47928F
tetradic
#8F4792 #926947 #4A9247 #476F92
square
#8F4792 #926947 #4A9247 #476F92
split-complementary
#8F4792 #6F9247 #479269
monochromatic
#3E1F40 #673369 #8F4792 #B063B3 #C58CC7

Accessibility & contrast

On white

6.03
#8F4792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8F4792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4792
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4792#FFFFFF#000000##FFFFFF
##8F47921.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5D94
Deuteranopia (green-blind)
#546690
Tritanopia (blue-blind)
#925066
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f4792;
/* rgb */ color: rgb(143, 71, 146);
/* oklch */ color: oklch(51.6% 0.139 325.8);
Tailwind
colors: {
  custom: {
    50: '#b27db2',
    500: '#8f4792',
    950: '#000000',
  },
}
SCSS
$custom: #8f4792;
$custom-light: #b27db2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4792",
  "rgb": {
    "r": 143,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 297.6,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51626,
    "c": 0.13859,
    "h": 325.8
  },
  "luminance": 0.12421
}

Semantic roles & 50–950 ramp

primary
#8F4792
secondary
#84B382
accent
#CB5D62
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8F4792

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

Preview Lab → · Contrast checker → · Palette generator →

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