#8C299E#8C299E

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

Color values

HEX#8C299E
RGBrgb(140, 41, 158)
HSLhsl(291, 59%, 39%)
HSVhsv(291, 74%, 62%)
CMYKcmyk(11.4%, 74.1%, 0%, 38%)
CIE-LABlab(37.17, 56.76, -43.02)
CIE-LCHlch(37.17, 71.23, 322.84°)
OKLaboklab(48.33% 0.1487 -0.1204)
OKLCHoklch(48.33% 0.191 321)
XYZxyz(17.7790, 9.6309, 33.2636)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C299E #3B9E29
analogous
#52299E #8C299E #9E2976
triadic
#8C299E #9E8C29 #299E8C
tetradic
#8C299E #9E5229 #3B9E29 #29769E
square
#8C299E #9E5229 #3B9E29 #29769E
split-complementary
#8C299E #769E29 #299E52
monochromatic
#36103D #611C6D #8C299E #B539CC #C769D8

Accessibility & contrast

On white

7.18
#8C299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8C299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C299E
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C299E#FFFFFF#000000##FFFFFF
##8C299E1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#365B9B
Tritanopia (blue-blind)
#8D4061
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8c299e;
/* rgb */ color: rgb(140, 41, 158);
/* oklch */ color: oklch(48.3% 0.191 321.0);
Tailwind
colors: {
  custom: {
    50: '#b16dbb',
    500: '#8c299e',
    950: '#000000',
  },
}
SCSS
$custom: #8c299e;
$custom-light: #b16dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8c299e",
  "rgb": {
    "r": 140,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 290.769,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48332,
    "c": 0.19133,
    "h": 321
  },
  "luminance": 0.0963
}

Semantic roles & 50–950 ramp

primary
#8C299E
secondary
#72BF64
accent
#E2465E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8C299E

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

Preview Lab → · Contrast checker → · Palette generator →

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