#8C188D#8C188D

#8C188D is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.194 H 327.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8C188D
RGBrgb(140, 24, 141)
HSLhsl(299, 71%, 32%)
HSVhsv(299, 83%, 55%)
CMYKcmyk(0.7%, 83%, 0%, 44.7%)
CIE-LABlab(34.30, 58.98, -37.24)
CIE-LCHlch(34.30, 69.75, 327.73°)
OKLaboklab(45.95% 0.1642 -0.1034)
OKLCHoklch(45.95% 0.194 327.8)
XYZxyz(15.9494, 8.1530, 25.9278)
Luminance0.0815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C188D #198D18
analogous
#51188D #8C188D #8D1854
triadic
#8C188D #8D8C18 #188D8C
tetradic
#8C188D #8D5118 #198D18 #18548D
square
#8C188D #8D5118 #198D18 #18548D
split-complementary
#8C188D #548D18 #188D51
monochromatic
#240624 #580F59 #8C188D #C021C1 #DD41DF

Accessibility & contrast

On white

7.98
#8C188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8C188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C188D
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C188D#FFFFFF#000000##FFFFFF
##8C188D1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#3B568A
Tritanopia (blue-blind)
#902E54
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8c188d;
/* rgb */ color: rgb(140, 24, 141);
/* oklch */ color: oklch(46.0% 0.194 327.8);
Tailwind
colors: {
  custom: {
    50: '#b166af',
    500: '#8c188d',
    950: '#000000',
  },
}
SCSS
$custom: #8c188d;
$custom-light: #b166af;
$custom-dark: #000000;
JSON
{
  "hex": "#8c188d",
  "rgb": {
    "r": 140,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 299.487,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45952,
    "c": 0.19405,
    "h": 327.8
  },
  "luminance": 0.08152
}

Semantic roles & 50–950 ramp

primary
#8C188D
secondary
#43BF42
accent
#EE3A3C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8C188D

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

Preview Lab → · Contrast checker → · Palette generator →

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