#8C299B#8C299B

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

Color values

HEX#8C299B
RGBrgb(140, 41, 155)
HSLhsl(292, 58%, 38%)
HSVhsv(292, 74%, 61%)
CMYKcmyk(9.7%, 73.5%, 0%, 39.2%)
CIE-LABlab(36.98, 56.20, -41.51)
CIE-LCHlch(36.98, 69.87, 323.55°)
OKLaboklab(48.14% 0.1489 -0.116)
OKLCHoklch(48.14% 0.189 322.1)
XYZxyz(17.5239, 9.5289, 31.9202)
Luminance0.0953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C299B #389B29
analogous
#53299B #8C299B #9B2971
triadic
#8C299B #9B8C29 #299B8C
tetradic
#8C299B #9B5329 #389B29 #29719B
square
#8C299B #9B5329 #389B29 #29719B
split-complementary
#8C299B #719B29 #299B53
monochromatic
#350F3A #601C6B #8C299B #B737CA #C867D7

Accessibility & contrast

On white

7.23
#8C299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C299B
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C299B#FFFFFF#000000##FFFFFF
##8C299B1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#395B98
Tritanopia (blue-blind)
#8E3E60
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8c299b;
/* rgb */ color: rgb(140, 41, 155);
/* oklch */ color: oklch(48.1% 0.189 322.1);
Tailwind
colors: {
  custom: {
    50: '#b16db9',
    500: '#8c299b',
    950: '#000000',
  },
}
SCSS
$custom: #8c299b;
$custom-light: #b16db9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c299b",
  "rgb": {
    "r": 140,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 292.105,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48137,
    "c": 0.18874,
    "h": 322.1
  },
  "luminance": 0.09528
}

Semantic roles & 50–950 ramp

primary
#8C299B
secondary
#6FBD63
accent
#E1465B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8C299B

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

Preview Lab → · Contrast checker → · Palette generator →

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