#8F299C#8F299C

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

Color values

HEX#8F299C
RGBrgb(143, 41, 156)
HSLhsl(293, 58%, 39%)
HSVhsv(293, 74%, 61%)
CMYKcmyk(8.3%, 73.7%, 0%, 38.8%)
CIE-LABlab(37.53, 57.04, -41.21)
CIE-LCHlch(37.53, 70.37, 324.15°)
OKLaboklab(48.64% 0.1524 -0.1151)
OKLCHoklch(48.64% 0.191 322.9)
XYZxyz(18.1208, 9.8269, 32.3884)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F299C #369C29
analogous
#55299C #8F299C #9C296F
triadic
#8F299C #9C8F29 #299C8F
tetradic
#8F299C #9C5529 #369C29 #296F9C
square
#8F299C #9C5529 #369C29 #296F9C
split-complementary
#8F299C #6F9C29 #299C55
monochromatic
#36103B #631C6C #8F299C #BA38CB #CB68D7

Accessibility & contrast

On white

7.08
#8F299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8F299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F299C
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F299C#FFFFFF#000000##FFFFFF
##8F299C1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f299c;
/* rgb */ color: rgb(143, 41, 156);
/* oklch */ color: oklch(48.6% 0.191 322.9);
Tailwind
colors: {
  custom: {
    50: '#b36dba',
    500: '#8f299c',
    950: '#000000',
  },
}
SCSS
$custom: #8f299c;
$custom-light: #b36dba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f299c",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 293.217,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48643,
    "c": 0.19093,
    "h": 322.9
  },
  "luminance": 0.09826
}

Semantic roles & 50–950 ramp

primary
#8F299C
secondary
#6DBE63
accent
#E24658
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F299C

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

Preview Lab → · Contrast checker → · Palette generator →

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