#8C1689#8C1689

#8C1689 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.193 H 329.4°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#8C1689
RGBrgb(140, 22, 137)
HSLhsl(302, 73%, 32%)
HSVhsv(302, 84%, 55%)
CMYKcmyk(0%, 84.3%, 2.1%, 45.1%)
CIE-LABlab(33.89, 58.80, -35.42)
CIE-LCHlch(33.89, 68.65, 328.94°)
OKLaboklab(45.59% 0.1657 -0.0981)
OKLCHoklch(45.59% 0.193 329.4)
XYZxyz(15.6174, 7.9567, 24.3753)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1689 #168C19
analogous
#54168C #8C1689 #8C164E
triadic
#8C1689 #898C16 #16898C
tetradic
#8C1689 #8C5416 #168C19 #164E8C
square
#8C1689 #8C5416 #168C19 #164E8C
split-complementary
#8C1689 #4E8C16 #168C54
monochromatic
#220521 #570E55 #8C1689 #C11EBD #E03CDC

Accessibility & contrast

On white

8.10
#8C1689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8C1689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1689
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1689#FFFFFF#000000##FFFFFF
##8C16891.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#3D5586
Tritanopia (blue-blind)
#912B51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8c1689;
/* rgb */ color: rgb(140, 22, 137);
/* oklch */ color: oklch(45.6% 0.193 329.4);
Tailwind
colors: {
  custom: {
    50: '#b165ac',
    500: '#8c1689',
    950: '#000000',
  },
}
SCSS
$custom: #8c1689;
$custom-light: #b165ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1689",
  "rgb": {
    "r": 140,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 301.525,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45586,
    "c": 0.19261,
    "h": 329.4
  },
  "luminance": 0.07955
}

Semantic roles & 50–950 ramp

primary
#8C1689
secondary
#3EC041
accent
#F03D38
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8C1689

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

Preview Lab → · Contrast checker → · Palette generator →

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