#8C299D#8C299D

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

Color values

HEX#8C299D
RGBrgb(140, 41, 157)
HSLhsl(291, 59%, 39%)
HSVhsv(291, 74%, 62%)
CMYKcmyk(10.8%, 73.9%, 0%, 38.4%)
CIE-LABlab(37.11, 56.58, -42.52)
CIE-LCHlch(37.11, 70.77, 323.07°)
OKLaboklab(48.27% 0.1487 -0.119)
OKLCHoklch(48.27% 0.19 321.3)
XYZxyz(17.6933, 9.5966, 32.8121)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C299D #3A9D29
analogous
#52299D #8C299D #9D2974
triadic
#8C299D #9D8C29 #299D8C
tetradic
#8C299D #9D5229 #3A9D29 #29749D
square
#8C299D #9D5229 #3A9D29 #29749D
split-complementary
#8C299D #749D29 #299D52
monochromatic
#35103C #611C6C #8C299D #B638CB #C769D8

Accessibility & contrast

On white

7.19
#8C299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8C299D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C299D
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C299D#FFFFFF#000000##FFFFFF
##8C299D1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#375B9A
Tritanopia (blue-blind)
#8D3F61
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8c299d;
/* rgb */ color: rgb(140, 41, 157);
/* oklch */ color: oklch(48.3% 0.190 321.3);
Tailwind
colors: {
  custom: {
    50: '#b16dba',
    500: '#8c299d',
    950: '#000000',
  },
}
SCSS
$custom: #8c299d;
$custom-light: #b16dba;
$custom-dark: #000000;
JSON
{
  "hex": "#8c299d",
  "rgb": {
    "r": 140,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 291.207,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48267,
    "c": 0.19047,
    "h": 321.3
  },
  "luminance": 0.09596
}

Semantic roles & 50–950 ramp

primary
#8C299D
secondary
#71BE64
accent
#E2465D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8C299D

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

Preview Lab → · Contrast checker → · Palette generator →

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