#8F299B#8F299B

#8F299B is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.190 H 323.3°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8F299B
RGBrgb(143, 41, 155)
HSLhsl(294, 58%, 38%)
HSVhsv(294, 74%, 61%)
CMYKcmyk(7.7%, 73.5%, 0%, 39.2%)
CIE-LABlab(37.47, 56.86, -40.71)
CIE-LCHlch(37.47, 69.93, 324.40°)
OKLaboklab(48.58% 0.1524 -0.1136)
OKLCHoklch(48.58% 0.19 323.3)
XYZxyz(18.0365, 9.7932, 31.9442)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F299B #359B29
analogous
#56299B #8F299B #9B296E
triadic
#8F299B #9B8F29 #299B8F
tetradic
#8F299B #9B5629 #359B29 #296E9B
square
#8F299B #9B5629 #359B29 #296E9B
split-complementary
#8F299B #6E9B29 #299B56
monochromatic
#360F3A #621C6B #8F299B #BB37CA #CB67D7

Accessibility & contrast

On white

7.10
#8F299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8F299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F299B
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F299B#FFFFFF#000000##FFFFFF
##8F299B1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#3C5C98
Tritanopia (blue-blind)
#913E60
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f299b;
/* rgb */ color: rgb(143, 41, 155);
/* oklch */ color: oklch(48.6% 0.190 323.3);
Tailwind
colors: {
  custom: {
    50: '#b36db9',
    500: '#8f299b',
    950: '#000000',
  },
}
SCSS
$custom: #8f299b;
$custom-light: #b36db9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f299b",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 293.684,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48579,
    "c": 0.19008,
    "h": 323.3
  },
  "luminance": 0.09792
}

Semantic roles & 50–950 ramp

primary
#8F299B
secondary
#6CBD63
accent
#E14657
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F299B

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

Preview Lab → · Contrast checker → · Palette generator →

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