#8F2D85#8F2D85

#8F2D85 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.7% C 0.167 H 332.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8F2D85
RGBrgb(143, 45, 133)
HSLhsl(306, 52%, 37%)
HSVhsv(306, 69%, 56%)
CMYKcmyk(0%, 68.5%, 7%, 43.9%)
CIE-LABlab(36.76, 51.49, -28.37)
CIE-LCHlch(36.76, 58.79, 331.15°)
OKLaboklab(47.67% 0.1477 -0.0778)
OKLCHoklch(47.67% 0.167 332.2)
XYZxyz(16.4997, 9.4112, 23.1333)
Luminance0.0941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2D85 #2D8F37
analogous
#682D8F #8F2D85 #8F2D54
triadic
#8F2D85 #858F2D #2D858F
tetradic
#8F2D85 #8F682D #2D8F37 #2D548F
square
#8F2D85 #8F682D #2D8F37 #2D548F
split-complementary
#8F2D85 #548F2D #2D8F68
monochromatic
#32102E #601E5A #8F2D85 #BE3CB0 #CF67C5

Accessibility & contrast

On white

7.29
#8F2D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2D85
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2D85#FFFFFF#000000##FFFFFF
##8F2D851.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284E88
Deuteranopia (green-blind)
#4B5B83
Tritanopia (blue-blind)
#953655
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f2d85;
/* rgb */ color: rgb(143, 45, 133);
/* oklch */ color: oklch(47.7% 0.167 332.2);
Tailwind
colors: {
  custom: {
    50: '#b36ea9',
    500: '#8f2d85',
    950: '#000000',
  },
}
SCSS
$custom: #8f2d85;
$custom-light: #b36ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2d85",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 306.122,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47672,
    "c": 0.16696,
    "h": 332.2
  },
  "luminance": 0.0941
}

Semantic roles & 50–950 ramp

primary
#8F2D85
secondary
#62B66A
accent
#DC5B4C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F2D85

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

Preview Lab → · Contrast checker → · Palette generator →

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