#8F299A#8F299A

#8F299A is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.189 H 323.7°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8F299A
RGBrgb(143, 41, 154)
HSLhsl(294, 58%, 38%)
HSVhsv(294, 73%, 60%)
CMYKcmyk(7.1%, 73.4%, 0%, 39.6%)
CIE-LABlab(37.41, 56.68, -40.20)
CIE-LCHlch(37.41, 69.48, 324.65°)
OKLaboklab(48.52% 0.1525 -0.1121)
OKLCHoklch(48.52% 0.189 323.7)
XYZxyz(17.9528, 9.7597, 31.5038)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F299A #349A29
analogous
#56299A #8F299A #9A296C
triadic
#8F299A #9A8F29 #299A8F
tetradic
#8F299A #9A5629 #349A29 #296C9A
square
#8F299A #9A5629 #349A29 #296C9A
split-complementary
#8F299A #6C9A29 #299A56
monochromatic
#350F39 #621C6A #8F299A #BB37CA #CC67D7

Accessibility & contrast

On white

7.11
#8F299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8F299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F299A
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F299A#FFFFFF#000000##FFFFFF
##8F299A1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#3D5C97
Tritanopia (blue-blind)
#923D5F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f299a;
/* rgb */ color: rgb(143, 41, 154);
/* oklch */ color: oklch(48.5% 0.189 323.7);
Tailwind
colors: {
  custom: {
    50: '#b36db8',
    500: '#8f299a',
    950: '#000000',
  },
}
SCSS
$custom: #8f299a;
$custom-light: #b36db8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f299a",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 294.159,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48516,
    "c": 0.18924,
    "h": 323.7
  },
  "luminance": 0.09759
}

Semantic roles & 50–950 ramp

primary
#8F299A
secondary
#6BBD62
accent
#E14756
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F299A

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

Preview Lab → · Contrast checker → · Palette generator →

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