#8F2D8D#8F2D8D

#8F2D8D is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.1% C 0.173 H 328.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8F2D8D
RGBrgb(143, 45, 141)
HSLhsl(301, 52%, 37%)
HSVhsv(301, 69%, 56%)
CMYKcmyk(0%, 68.5%, 1.4%, 43.9%)
CIE-LABlab(37.19, 52.85, -32.62)
CIE-LCHlch(37.19, 62.11, 328.32°)
OKLaboklab(48.12% 0.1483 -0.0901)
OKLCHoklch(48.12% 0.173 328.7)
XYZxyz(17.0736, 9.6407, 26.1557)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2D8D #2D8F2F
analogous
#602D8F #8F2D8D #8F2D5C
triadic
#8F2D8D #8D8F2D #2D8D8F
tetradic
#8F2D8D #8F602D #2D8F2F #2D5C8F
square
#8F2D8D #8F602D #2D8F2F #2D5C8F
split-complementary
#8F2D8D #5C8F2D #2D8F60
monochromatic
#321031 #601E5F #8F2D8D #BE3CBB #CF67CD

Accessibility & contrast

On white

7.17
#8F2D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8F2D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2D8D
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2D8D#FFFFFF#000000##FFFFFF
##8F2D8D1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F90
Deuteranopia (green-blind)
#475C8A
Tritanopia (blue-blind)
#943A59
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f2d8d;
/* rgb */ color: rgb(143, 45, 141);
/* oklch */ color: oklch(48.1% 0.173 328.7);
Tailwind
colors: {
  custom: {
    50: '#b36faf',
    500: '#8f2d8d',
    950: '#000000',
  },
}
SCSS
$custom: #8f2d8d;
$custom-light: #b36faf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2d8d",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 301.224,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48118,
    "c": 0.17348,
    "h": 328.7
  },
  "luminance": 0.09639
}

Semantic roles & 50–950 ramp

primary
#8F2D8D
secondary
#62B664
accent
#DC4F4C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F2D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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