#8C188B#8C188B

#8C188B is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.193 H 328.6°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#8C188B
RGBrgb(140, 24, 139)
HSLhsl(301, 71%, 32%)
HSVhsv(301, 83%, 55%)
CMYKcmyk(0%, 82.9%, 0.7%, 45.1%)
CIE-LABlab(34.18, 58.65, -36.20)
CIE-LCHlch(34.18, 68.92, 328.32°)
OKLaboklab(45.83% 0.1643 -0.1004)
OKLCHoklch(45.83% 0.193 328.6)
XYZxyz(15.8019, 8.0940, 25.1511)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C188B #188C19
analogous
#53188C #8C188B #8C1851
triadic
#8C188B #8B8C18 #188B8C
tetradic
#8C188B #8C5318 #188C19 #18518C
square
#8C188B #8C5318 #188C19 #18518C
split-complementary
#8C188B #518C18 #188C53
monochromatic
#240623 #580F57 #8C188B #C021BF #DE40DD

Accessibility & contrast

On white

8.02
#8C188B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8C188B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C188B
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C188B#FFFFFF#000000##FFFFFF
##8C188B1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#3C5588
Tritanopia (blue-blind)
#912D53
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8c188b;
/* rgb */ color: rgb(140, 24, 139);
/* oklch */ color: oklch(45.8% 0.193 328.6);
Tailwind
colors: {
  custom: {
    50: '#b166ad',
    500: '#8c188b',
    950: '#000000',
  },
}
SCSS
$custom: #8c188b;
$custom-light: #b166ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8c188b",
  "rgb": {
    "r": 140,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 300.517,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45827,
    "c": 0.19254,
    "h": 328.6
  },
  "luminance": 0.08093
}

Semantic roles & 50–950 ramp

primary
#8C188B
secondary
#41BF42
accent
#ED3C3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8C188B

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

Preview Lab → · Contrast checker → · Palette generator →

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