#8C148F#8C148F

#8C148F is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.9% C 0.199 H 327.1°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8C148F
RGBrgb(140, 20, 143)
HSLhsl(299, 75%, 32%)
HSVhsv(299, 86%, 56%)
CMYKcmyk(2.1%, 86%, 0%, 43.9%)
CIE-LABlab(34.11, 60.23, -38.78)
CIE-LCHlch(34.11, 71.63, 327.22°)
OKLaboklab(45.86% 0.1666 -0.1079)
OKLCHoklch(45.86% 0.199 327.1)
XYZxyz(16.0230, 8.0601, 26.6931)
Luminance0.0806 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C148F #178F14
analogous
#4F148F #8C148F #8F1454
triadic
#8C148F #8F8C14 #148F8C
tetradic
#8C148F #8F4F14 #178F14 #14548F
square
#8C148F #8F4F14 #178F14 #14548F
split-complementary
#8C148F #548F14 #148F4F
monochromatic
#230524 #570C59 #8C148F #C11CC5 #DF3AE3

Accessibility & contrast

On white

8.04
#8C148F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8C148F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C148F
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C148F#FFFFFF#000000##FFFFFF
##8C148F1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#38558C
Tritanopia (blue-blind)
#902D54
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8c148f;
/* rgb */ color: rgb(140, 20, 143);
/* oklch */ color: oklch(45.9% 0.199 327.1);
Tailwind
colors: {
  custom: {
    50: '#b265b0',
    500: '#8c148f',
    950: '#000000',
  },
}
SCSS
$custom: #8c148f;
$custom-light: #b265b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8c148f",
  "rgb": {
    "r": 140,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 298.537,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45856,
    "c": 0.19851,
    "h": 327.1
  },
  "luminance": 0.08059
}

Semantic roles & 50–950 ramp

primary
#8C148F
secondary
#3FC33C
accent
#F2363A
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110610
muted
#807A7F

Preview Lab

Preview with #8C148F

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

Preview Lab → · Contrast checker → · Palette generator →

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