#8C148D#8C148D

#8C148D is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.7% C 0.197 H 327.8°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#8C148D
RGBrgb(140, 20, 141)
HSLhsl(300, 75%, 32%)
HSVhsv(300, 86%, 55%)
CMYKcmyk(0.7%, 85.8%, 0%, 44.7%)
CIE-LABlab(33.98, 59.90, -37.75)
CIE-LCHlch(33.98, 70.80, 327.78°)
OKLaboklab(45.73% 0.1668 -0.1049)
OKLCHoklch(45.73% 0.197 327.8)
XYZxyz(15.8729, 8.0001, 25.9023)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C148D #158D14
analogous
#50148D #8C148D #8D1452
triadic
#8C148D #8D8C14 #148D8C
tetradic
#8C148D #8D5014 #158D14 #14528D
square
#8C148D #8D5014 #158D14 #14528D
split-complementary
#8C148D #528D14 #148D50
monochromatic
#220522 #570C57 #8C148D #C11CC3 #E139E3

Accessibility & contrast

On white

8.08
#8C148D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8C148D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C148D
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C148D#FFFFFF#000000##FFFFFF
##8C148D1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#3A558A
Tritanopia (blue-blind)
#912C53
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8c148d;
/* rgb */ color: rgb(140, 20, 141);
/* oklch */ color: oklch(45.7% 0.197 327.8);
Tailwind
colors: {
  custom: {
    50: '#b265af',
    500: '#8c148d',
    950: '#000000',
  },
}
SCSS
$custom: #8c148d;
$custom-light: #b265af;
$custom-dark: #000000;
JSON
{
  "hex": "#8c148d",
  "rgb": {
    "r": 140,
    "g": 20,
    "b": 141
  },
  "hsl": {
    "h": 299.504,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45728,
    "c": 0.19702,
    "h": 327.8
  },
  "luminance": 0.07999
}

Semantic roles & 50–950 ramp

primary
#8C148D
secondary
#3DC13C
accent
#F23638
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8C148D

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

Preview Lab → · Contrast checker → · Palette generator →

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