#8C299A#8C299A

#8C299A is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.188 H 322.4°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8C299A
RGBrgb(140, 41, 154)
HSLhsl(293, 58%, 38%)
HSVhsv(293, 73%, 60%)
CMYKcmyk(9.1%, 73.4%, 0%, 39.6%)
CIE-LABlab(36.92, 56.02, -41.00)
CIE-LCHlch(36.92, 69.42, 323.80°)
OKLaboklab(48.07% 0.1489 -0.1145)
OKLCHoklch(48.07% 0.188 322.4)
XYZxyz(17.4403, 9.4954, 31.4798)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C299A #379A29
analogous
#53299A #8C299A #9A296F
triadic
#8C299A #9A8C29 #299A8C
tetradic
#8C299A #9A5329 #379A29 #296F9A
square
#8C299A #9A5329 #379A29 #296F9A
split-complementary
#8C299A #6F9A29 #299A53
monochromatic
#340F39 #601C6A #8C299A #B737CA #C967D7

Accessibility & contrast

On white

7.24
#8C299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8C299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C299A
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C299A#FFFFFF#000000##FFFFFF
##8C299A1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#3A5B97
Tritanopia (blue-blind)
#8E3E5F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8c299a;
/* rgb */ color: rgb(140, 41, 154);
/* oklch */ color: oklch(48.1% 0.188 322.4);
Tailwind
colors: {
  custom: {
    50: '#b16db8',
    500: '#8c299a',
    950: '#000000',
  },
}
SCSS
$custom: #8c299a;
$custom-light: #b16db8;
$custom-dark: #000000;
JSON
{
  "hex": "#8c299a",
  "rgb": {
    "r": 140,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 292.566,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48073,
    "c": 0.18788,
    "h": 322.4
  },
  "luminance": 0.09494
}

Semantic roles & 50–950 ramp

primary
#8C299A
secondary
#6DBD62
accent
#E1475A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8C299A

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

Preview Lab → · Contrast checker → · Palette generator →

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