#8F2D84#8F2D84

#8F2D84 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.6% C 0.166 H 332.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8F2D84
RGBrgb(143, 45, 132)
HSLhsl(307, 52%, 37%)
HSVhsv(307, 69%, 56%)
CMYKcmyk(0%, 68.5%, 7.7%, 43.9%)
CIE-LABlab(36.71, 51.32, -27.83)
CIE-LCHlch(36.71, 58.38, 331.53°)
OKLaboklab(47.62% 0.1476 -0.0763)
OKLCHoklch(47.62% 0.166 332.7)
XYZxyz(16.4310, 9.3837, 22.7712)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2D84 #2D8F38
analogous
#692D8F #8F2D84 #8F2D53
triadic
#8F2D84 #848F2D #2D848F
tetradic
#8F2D84 #8F692D #2D8F38 #2D538F
square
#8F2D84 #8F692D #2D8F38 #2D538F
split-complementary
#8F2D84 #538F2D #2D8F69
monochromatic
#32102E #601E59 #8F2D84 #BE3CAF #CF67C4

Accessibility & contrast

On white

7.30
#8F2D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8F2D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2D84
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2D84#FFFFFF#000000##FFFFFF
##8F2D841.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294D87
Deuteranopia (green-blind)
#4B5B82
Tritanopia (blue-blind)
#953654
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f2d84;
/* rgb */ color: rgb(143, 45, 132);
/* oklch */ color: oklch(47.6% 0.166 332.7);
Tailwind
colors: {
  custom: {
    50: '#b36ea8',
    500: '#8f2d84',
    950: '#000000',
  },
}
SCSS
$custom: #8f2d84;
$custom-light: #b36ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2d84",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 306.735,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47618,
    "c": 0.16615,
    "h": 332.7
  },
  "luminance": 0.09382
}

Semantic roles & 50–950 ramp

primary
#8F2D84
secondary
#62B66B
accent
#DC5C4C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8F2D84

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

Preview Lab → · Contrast checker → · Palette generator →

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