#8F2A9D#8F2A9D

#8F2A9D is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.191 H 322.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8F2A9D
RGBrgb(143, 42, 157)
HSLhsl(293, 58%, 39%)
HSVhsv(293, 73%, 62%)
CMYKcmyk(8.9%, 73.2%, 0%, 38.4%)
CIE-LABlab(37.72, 56.86, -41.52)
CIE-LCHlch(37.72, 70.41, 323.86°)
OKLaboklab(48.8% 0.1513 -0.116)
OKLCHoklch(48.8% 0.191 322.5)
XYZxyz(18.2408, 9.9309, 32.8478)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A9D #389D2A
analogous
#562A9D #8F2A9D #9D2A72
triadic
#8F2A9D #9D8F2A #2A9D8F
tetradic
#8F2A9D #9D562A #389D2A #2A729D
square
#8F2A9D #9D562A #389D2A #2A729D
split-complementary
#8F2A9D #729D2A #2A9D56
monochromatic
#37103C #631D6D #8F2A9D #B93ACA #CA6AD7

Accessibility & contrast

On white

7.03
#8F2A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8F2A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2A9D
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A9D#FFFFFF#000000##FFFFFF
##8F2A9D1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#3B5D9A
Tritanopia (blue-blind)
#913F61
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f2a9d;
/* rgb */ color: rgb(143, 42, 157);
/* oklch */ color: oklch(48.8% 0.191 322.5);
Tailwind
colors: {
  custom: {
    50: '#b36eba',
    500: '#8f2a9d',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a9d;
$custom-light: #b36eba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a9d",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 157
  },
  "hsl": {
    "h": 292.696,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48797,
    "c": 0.19065,
    "h": 322.5
  },
  "luminance": 0.0993
}

Semantic roles & 50–950 ramp

primary
#8F2A9D
secondary
#70BE65
accent
#E1475A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F2A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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