#8C148A#8C148A

#8C148A is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.5% C 0.195 H 329.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#8C148A
RGBrgb(140, 20, 138)
HSLhsl(301, 75%, 31%)
HSVhsv(301, 86%, 55%)
CMYKcmyk(0%, 85.7%, 1.4%, 45.1%)
CIE-LABlab(33.80, 59.41, -36.19)
CIE-LCHlch(33.80, 69.57, 328.66°)
OKLaboklab(45.54% 0.167 -0.1003)
OKLCHoklch(45.54% 0.195 329)
XYZxyz(15.6527, 7.9120, 24.7426)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C148A #148C16
analogous
#52148C #8C148A #8C144E
triadic
#8C148A #8A8C14 #148A8C
tetradic
#8C148A #8C5214 #148C16 #144E8C
square
#8C148A #8C5214 #148C16 #144E8C
split-complementary
#8C148A #4E8C14 #148C52
monochromatic
#210520 #560C55 #8C148A #C21CBF #E338E0

Accessibility & contrast

On white

8.13
#8C148A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8C148A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C148A
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C148A#FFFFFF#000000##FFFFFF
##8C148A1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#3B5587
Tritanopia (blue-blind)
#912A51
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8c148a;
/* rgb */ color: rgb(140, 20, 138);
/* oklch */ color: oklch(45.5% 0.195 329.0);
Tailwind
colors: {
  custom: {
    50: '#b265ad',
    500: '#8c148a',
    950: '#000000',
  },
}
SCSS
$custom: #8c148a;
$custom-light: #b265ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8c148a",
  "rgb": {
    "r": 140,
    "g": 20,
    "b": 138
  },
  "hsl": {
    "h": 301,
    "s": 75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.45539,
    "c": 0.19481,
    "h": 329
  },
  "luminance": 0.07911
}

Semantic roles & 50–950 ramp

primary
#8C148A
secondary
#3CC03E
accent
#F23936
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8C148A

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

Preview Lab → · Contrast checker → · Palette generator →

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