#8F2C9D#8F2C9D

#8F2C9D is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.188 H 322.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8F2C9D
RGBrgb(143, 44, 157)
HSLhsl(293, 56%, 39%)
HSVhsv(293, 72%, 62%)
CMYKcmyk(8.9%, 72%, 0%, 38.4%)
CIE-LABlab(37.98, 56.12, -41.10)
CIE-LCHlch(37.98, 69.56, 323.78°)
OKLaboklab(48.98% 0.1493 -0.1147)
OKLCHoklch(48.98% 0.188 322.5)
XYZxyz(18.3136, 10.0764, 32.8721)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2C9D #3A9D2C
analogous
#562C9D #8F2C9D #9D2C73
triadic
#8F2C9D #9D8F2C #2C9D8F
tetradic
#8F2C9D #9D562C #3A9D2C #2C739D
square
#8F2C9D #9D562C #3A9D2C #2C739D
split-complementary
#8F2C9D #739D2C #2C9D56
monochromatic
#38113D #631F6D #8F2C9D #B73DC9 #C96DD6

Accessibility & contrast

On white

6.97
#8F2C9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8F2C9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2C9D
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2C9D#FFFFFF#000000##FFFFFF
##8F2C9D1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#3C5D9A
Tritanopia (blue-blind)
#914062
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f2c9d;
/* rgb */ color: rgb(143, 44, 157);
/* oklch */ color: oklch(49.0% 0.188 322.5);
Tailwind
colors: {
  custom: {
    50: '#b36fba',
    500: '#8f2c9d',
    950: '#000000',
  },
}
SCSS
$custom: #8f2c9d;
$custom-light: #b36fba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2c9d",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 157
  },
  "hsl": {
    "h": 292.566,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48983,
    "c": 0.18832,
    "h": 322.5
  },
  "luminance": 0.10075
}

Semantic roles & 50–950 ramp

primary
#8F2C9D
secondary
#72BD68
accent
#E0485B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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