#8C1682#8C1682

#8C1682 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.188 H 332.2°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#8C1682
RGBrgb(140, 22, 130)
HSLhsl(305, 73%, 32%)
HSVhsv(305, 84%, 55%)
CMYKcmyk(0%, 84.3%, 7.1%, 45.1%)
CIE-LABlab(33.48, 57.70, -31.72)
CIE-LCHlch(33.48, 65.84, 331.20°)
OKLaboklab(45.16% 0.1659 -0.0874)
OKLCHoklch(45.16% 0.188 332.2)
XYZxyz(15.1315, 7.7623, 21.8161)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1682 #168C20
analogous
#5B168C #8C1682 #8C1647
triadic
#8C1682 #828C16 #16828C
tetradic
#8C1682 #8C5B16 #168C20 #16478C
square
#8C1682 #8C5B16 #168C20 #16478C
split-complementary
#8C1682 #478C16 #168C5B
monochromatic
#220520 #570E51 #8C1682 #C11EB3 #E03CD2

Accessibility & contrast

On white

8.23
#8C1682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8C1682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1682
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1682#FFFFFF#000000##FFFFFF
##8C16821.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094485
Deuteranopia (green-blind)
#41547F
Tritanopia (blue-blind)
#92274D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8c1682;
/* rgb */ color: rgb(140, 22, 130);
/* oklch */ color: oklch(45.2% 0.188 332.2);
Tailwind
colors: {
  custom: {
    50: '#b165a7',
    500: '#8c1682',
    950: '#000000',
  },
}
SCSS
$custom: #8c1682;
$custom-light: #b165a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1682",
  "rgb": {
    "r": 140,
    "g": 22,
    "b": 130
  },
  "hsl": {
    "h": 305.085,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45163,
    "c": 0.1875,
    "h": 332.2
  },
  "luminance": 0.07761
}

Semantic roles & 50–950 ramp

primary
#8C1682
secondary
#3EC049
accent
#F04838
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8C1682

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

Preview Lab → · Contrast checker → · Palette generator →

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