#8C299C#8C299C

#8C299C is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.190 H 321.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8C299C
RGBrgb(140, 41, 156)
HSLhsl(292, 58%, 39%)
HSVhsv(292, 74%, 61%)
CMYKcmyk(10.3%, 73.7%, 0%, 38.8%)
CIE-LABlab(37.05, 56.39, -42.02)
CIE-LCHlch(37.05, 70.32, 323.31°)
OKLaboklab(48.2% 0.1488 -0.1175)
OKLCHoklch(48.2% 0.19 321.7)
XYZxyz(17.6083, 9.5626, 32.3643)
Luminance0.0956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C299C #399C29
analogous
#52299C #8C299C #9C2972
triadic
#8C299C #9C8C29 #299C8C
tetradic
#8C299C #9C5229 #399C29 #29729C
square
#8C299C #9C5229 #399C29 #29729C
split-complementary
#8C299C #729C29 #299C52
monochromatic
#35103B #611C6C #8C299C #B638CB #C868D7

Accessibility & contrast

On white

7.21
#8C299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8C299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C299C
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C299C#FFFFFF#000000##FFFFFF
##8C299C1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#385B99
Tritanopia (blue-blind)
#8D3F60
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8c299c;
/* rgb */ color: rgb(140, 41, 156);
/* oklch */ color: oklch(48.2% 0.190 321.7);
Tailwind
colors: {
  custom: {
    50: '#b16dba',
    500: '#8c299c',
    950: '#000000',
  },
}
SCSS
$custom: #8c299c;
$custom-light: #b16dba;
$custom-dark: #000000;
JSON
{
  "hex": "#8c299c",
  "rgb": {
    "r": 140,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 291.652,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48202,
    "c": 0.1896,
    "h": 321.7
  },
  "luminance": 0.09562
}

Semantic roles & 50–950 ramp

primary
#8C299C
secondary
#70BE63
accent
#E2465C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8C299C

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

Preview Lab → · Contrast checker → · Palette generator →

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