#8C299F#8C299F

#8C299F is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.192 H 320.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8C299F
RGBrgb(140, 41, 159)
HSLhsl(290, 59%, 39%)
HSVhsv(290, 74%, 62%)
CMYKcmyk(11.9%, 74.2%, 0%, 37.6%)
CIE-LABlab(37.24, 56.95, -43.53)
CIE-LCHlch(37.24, 71.68, 322.61°)
OKLaboklab(48.4% 0.1486 -0.1219)
OKLCHoklch(48.4% 0.192 320.6)
XYZxyz(17.8654, 9.6655, 33.7188)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C299F #3C9F29
analogous
#51299F #8C299F #9F2977
triadic
#8C299F #9F8C29 #299F8C
tetradic
#8C299F #9F5129 #3C9F29 #29779F
square
#8C299F #9F5129 #3C9F29 #29779F
split-complementary
#8C299F #779F29 #299F51
monochromatic
#36103E #611C6E #8C299F #B439CC #C76AD9

Accessibility & contrast

On white

7.16
#8C299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C299F
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C299F#FFFFFF#000000##FFFFFF
##8C299F1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#365B9C
Tritanopia (blue-blind)
#8D4062
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8c299f;
/* rgb */ color: rgb(140, 41, 159);
/* oklch */ color: oklch(48.4% 0.192 320.6);
Tailwind
colors: {
  custom: {
    50: '#b16dbc',
    500: '#8c299f',
    950: '#000000',
  },
}
SCSS
$custom: #8c299f;
$custom-light: #b16dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8c299f",
  "rgb": {
    "r": 140,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 290.339,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48397,
    "c": 0.1922,
    "h": 320.6
  },
  "luminance": 0.09665
}

Semantic roles & 50–950 ramp

primary
#8C299F
secondary
#73BF65
accent
#E2465F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8C299F

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

Preview Lab → · Contrast checker → · Palette generator →

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