#8F2C87#8F2C87

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

Color values

HEX#8F2C87
RGBrgb(143, 44, 135)
HSLhsl(305, 53%, 37%)
HSVhsv(305, 69%, 56%)
CMYKcmyk(0%, 69.2%, 5.6%, 43.9%)
CIE-LABlab(36.73, 52.22, -29.66)
CIE-LCHlch(36.73, 60.06, 330.40°)
OKLaboklab(47.68% 0.149 -0.0815)
OKLCHoklch(47.68% 0.17 331.3)
XYZxyz(16.6015, 9.3915, 23.8553)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2C87 #2C8F34
analogous
#662C8F #8F2C87 #8F2C56
triadic
#8F2C87 #878F2C #2C878F
tetradic
#8F2C87 #8F662C #2C8F34 #2C568F
square
#8F2C87 #8F662C #2C8F34 #2C568F
split-complementary
#8F2C87 #568F2C #2C8F66
monochromatic
#310F2F #601E5B #8F2C87 #BE3AB3 #D066C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F2C87#FFFFFF#000000##FFFFFF
##8F2C871.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)
#254E8A
Deuteranopia (green-blind)
#495B84
Tritanopia (blue-blind)
#953756
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f2c87;
/* rgb */ color: rgb(143, 44, 135);
/* oklch */ color: oklch(47.7% 0.170 331.3);
Tailwind
colors: {
  custom: {
    50: '#b36eaa',
    500: '#8f2c87',
    950: '#000000',
  },
}
SCSS
$custom: #8f2c87;
$custom-light: #b36eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2c87",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 304.848,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47679,
    "c": 0.16986,
    "h": 331.3
  },
  "luminance": 0.0939
}

Semantic roles & 50–950 ramp

primary
#8F2C87
secondary
#61B667
accent
#DC574B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F2C87

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

Preview Lab → · Contrast checker → · Palette generator →

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