#8F2C8B#8F2C8B

#8F2C8B is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.9% C 0.173 H 329.6°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8F2C8B
RGBrgb(143, 44, 139)
HSLhsl(302, 53%, 37%)
HSVhsv(302, 69%, 56%)
CMYKcmyk(0%, 69.2%, 2.8%, 43.9%)
CIE-LABlab(36.94, 52.90, -31.79)
CIE-LCHlch(36.94, 61.72, 329.00°)
OKLaboklab(47.9% 0.1493 -0.0877)
OKLCHoklch(47.9% 0.173 329.6)
XYZxyz(16.8885, 9.5063, 25.3665)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2C8B #2C8F30
analogous
#622C8F #8F2C8B #8F2C5A
triadic
#8F2C8B #8B8F2C #2C8B8F
tetradic
#8F2C8B #8F622C #2C8F30 #2C5A8F
square
#8F2C8B #8F622C #2C8F30 #2C5A8F
split-complementary
#8F2C8B #5A8F2C #2C8F62
monochromatic
#310F30 #601E5E #8F2C8B #BE3AB8 #D066CC

Accessibility & contrast

On white

7.24
#8F2C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8F2C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2C8B
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2C8B#FFFFFF#000000##FFFFFF
##8F2C8B1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214E8E
Deuteranopia (green-blind)
#475C88
Tritanopia (blue-blind)
#943858
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f2c8b;
/* rgb */ color: rgb(143, 44, 139);
/* oklch */ color: oklch(47.9% 0.173 329.6);
Tailwind
colors: {
  custom: {
    50: '#b36ead',
    500: '#8f2c8b',
    950: '#000000',
  },
}
SCSS
$custom: #8f2c8b;
$custom-light: #b36ead;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2c8b",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 302.424,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47903,
    "c": 0.17311,
    "h": 329.6
  },
  "luminance": 0.09505
}

Semantic roles & 50–950 ramp

primary
#8F2C8B
secondary
#61B664
accent
#DC514B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F2C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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