#8D148C#8D148C

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

Color values

HEX#8D148C
RGBrgb(141, 20, 140)
HSLhsl(300, 75%, 32%)
HSVhsv(300, 86%, 55%)
CMYKcmyk(0%, 85.8%, 0.7%, 44.7%)
CIE-LABlab(34.10, 59.93, -36.93)
CIE-LCHlch(34.10, 70.40, 328.36°)
OKLaboklab(45.83% 0.1679 -0.1025)
OKLCHoklch(45.83% 0.197 328.6)
XYZxyz(15.9681, 8.0577, 25.5201)
Luminance0.0806 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D148C #148D15
analogous
#52148D #8D148C #8D1450
triadic
#8D148C #8C8D14 #148C8D
tetradic
#8D148C #8D5214 #148D15 #14508D
square
#8D148C #8D5214 #148D15 #14508D
split-complementary
#8D148C #508D14 #148D52
monochromatic
#220522 #570C57 #8D148C #C31CC1 #E339E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D148C#FFFFFF#000000##FFFFFF
##8D148C1.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)
#00468F
Deuteranopia (green-blind)
#3B5589
Tritanopia (blue-blind)
#922B53
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d148c;
/* rgb */ color: rgb(141, 20, 140);
/* oklch */ color: oklch(45.8% 0.197 328.6);
Tailwind
colors: {
  custom: {
    50: '#b265ae',
    500: '#8d148c',
    950: '#000000',
  },
}
SCSS
$custom: #8d148c;
$custom-light: #b265ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8d148c",
  "rgb": {
    "r": 141,
    "g": 20,
    "b": 140
  },
  "hsl": {
    "h": 300.496,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45827,
    "c": 0.19672,
    "h": 328.6
  },
  "luminance": 0.08056
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D148C

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

Preview Lab → · Contrast checker → · Palette generator →

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