#8C2188#8C2188

#8C2188 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.182 H 329.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8C2188
RGBrgb(140, 33, 136)
HSLhsl(302, 62%, 34%)
HSVhsv(302, 76%, 55%)
CMYKcmyk(0%, 76.4%, 2.9%, 45.1%)
CIE-LABlab(34.89, 55.60, -33.22)
CIE-LCHlch(34.89, 64.77, 329.14°)
OKLaboklab(46.28% 0.1571 -0.0918)
OKLCHoklch(46.28% 0.182 329.7)
XYZxyz(15.8029, 8.4420, 24.0849)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2188 #218C25
analogous
#5B218C #8C2188 #8C2153
triadic
#8C2188 #888C21 #21888C
tetradic
#8C2188 #8C5B21 #218C25 #21538C
square
#8C2188 #8C5B21 #218C25 #21538C
split-complementary
#8C2188 #538C21 #218C5B
monochromatic
#290A28 #5A1558 #8C2188 #BE2DB8 #D651D1

Accessibility & contrast

On white

7.81
#8C2188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8C2188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C2188
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2188#FFFFFF#000000##FFFFFF
##8C21881.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11498B
Deuteranopia (green-blind)
#415785
Tritanopia (blue-blind)
#913053
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8c2188;
/* rgb */ color: rgb(140, 33, 136);
/* oklch */ color: oklch(46.3% 0.182 329.7);
Tailwind
colors: {
  custom: {
    50: '#b169ab',
    500: '#8c2188',
    950: '#000000',
  },
}
SCSS
$custom: #8c2188;
$custom-light: #b169ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2188",
  "rgb": {
    "r": 140,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 302.243,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46275,
    "c": 0.18193,
    "h": 329.7
  },
  "luminance": 0.08441
}

Semantic roles & 50–950 ramp

primary
#8C2188
secondary
#4FB953
accent
#E54943
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8C2188

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

Preview Lab → · Contrast checker → · Palette generator →

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