#8F2D8B#8F2D8B

#8F2D8B is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.0% C 0.172 H 329.6°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8F2D8B
RGBrgb(143, 45, 139)
HSLhsl(302, 52%, 37%)
HSVhsv(302, 69%, 56%)
CMYKcmyk(0%, 68.5%, 2.8%, 43.9%)
CIE-LABlab(37.08, 52.51, -31.57)
CIE-LCHlch(37.08, 61.26, 328.99°)
OKLaboklab(48% 0.1481 -0.087)
OKLCHoklch(48% 0.172 329.6)
XYZxyz(16.9262, 9.5817, 25.3791)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2D8B #2D8F31
analogous
#622D8F #8F2D8B #8F2D5A
triadic
#8F2D8B #8B8F2D #2D8B8F
tetradic
#8F2D8B #8F622D #2D8F31 #2D5A8F
square
#8F2D8B #8F622D #2D8F31 #2D5A8F
split-complementary
#8F2D8B #5A8F2D #2D8F62
monochromatic
#321031 #601E5E #8F2D8B #BE3CB8 #CF67CB

Accessibility & contrast

On white

7.20
#8F2D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8F2D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2D8B
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2D8B#FFFFFF#000000##FFFFFF
##8F2D8B1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234F8E
Deuteranopia (green-blind)
#485C88
Tritanopia (blue-blind)
#943958
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f2d8b;
/* rgb */ color: rgb(143, 45, 139);
/* oklch */ color: oklch(48.0% 0.172 329.6);
Tailwind
colors: {
  custom: {
    50: '#b36fad',
    500: '#8f2d8b',
    950: '#000000',
  },
}
SCSS
$custom: #8f2d8b;
$custom-light: #b36fad;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2d8b",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 302.449,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48004,
    "c": 0.17182,
    "h": 329.6
  },
  "luminance": 0.0958
}

Semantic roles & 50–950 ramp

primary
#8F2D8B
secondary
#62B665
accent
#DC524C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F2D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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