#8C148B#8C148B

#8C148B is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.6% C 0.196 H 328.6°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#8C148B
RGBrgb(140, 20, 139)
HSLhsl(301, 75%, 31%)
HSVhsv(301, 86%, 55%)
CMYKcmyk(0%, 85.7%, 0.7%, 45.1%)
CIE-LABlab(33.86, 59.58, -36.71)
CIE-LCHlch(33.86, 69.98, 328.36°)
OKLaboklab(45.6% 0.1669 -0.1019)
OKLCHoklch(45.6% 0.196 328.6)
XYZxyz(15.7254, 7.9411, 25.1256)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C148B #148C15
analogous
#51148C #8C148B #8C144F
triadic
#8C148B #8B8C14 #148B8C
tetradic
#8C148B #8C5114 #148C15 #144F8C
square
#8C148B #8C5114 #148C15 #144F8C
split-complementary
#8C148B #4F8C14 #148C51
monochromatic
#210521 #560C56 #8C148B #C21CC0 #E338E1

Accessibility & contrast

On white

8.11
#8C148B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C148B
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C148B#FFFFFF#000000##FFFFFF
##8C148B1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#3B5588
Tritanopia (blue-blind)
#912B52
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8c148b;
/* rgb */ color: rgb(140, 20, 139);
/* oklch */ color: oklch(45.6% 0.196 328.6);
Tailwind
colors: {
  custom: {
    50: '#b265ad',
    500: '#8c148b',
    950: '#000000',
  },
}
SCSS
$custom: #8c148b;
$custom-light: #b265ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8c148b",
  "rgb": {
    "r": 140,
    "g": 20,
    "b": 139
  },
  "hsl": {
    "h": 300.5,
    "s": 75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.45601,
    "c": 0.19554,
    "h": 328.6
  },
  "luminance": 0.0794
}

Semantic roles & 50–950 ramp

primary
#8C148B
secondary
#3CC03D
accent
#F23836
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8C148B

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

Preview Lab → · Contrast checker → · Palette generator →

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