#8D148F#8D148F

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

Color values

HEX#8D148F
RGBrgb(141, 20, 143)
HSLhsl(299, 75%, 32%)
HSVhsv(299, 86%, 56%)
CMYKcmyk(1.4%, 86%, 0%, 43.9%)
CIE-LABlab(34.29, 60.42, -38.48)
CIE-LCHlch(34.29, 71.63, 327.51°)
OKLaboklab(46.02% 0.1677 -0.107)
OKLCHoklch(46.02% 0.199 327.5)
XYZxyz(16.1924, 8.1474, 26.7010)
Luminance0.0815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D148F #168F14
analogous
#4F148F #8D148F #8F1454
triadic
#8D148F #8F8D14 #148F8D
tetradic
#8D148F #8F4F14 #168F14 #14548F
square
#8D148F #8F4F14 #168F14 #14548F
split-complementary
#8D148F #548F14 #148F4F
monochromatic
#230524 #580C59 #8D148F #C21CC5 #E13AE3

Accessibility & contrast

On white

7.99
#8D148F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8D148F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D148F
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D148F#FFFFFF#000000##FFFFFF
##8D148F1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#39568C
Tritanopia (blue-blind)
#912D54
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d148f;
/* rgb */ color: rgb(141, 20, 143);
/* oklch */ color: oklch(46.0% 0.199 327.5);
Tailwind
colors: {
  custom: {
    50: '#b265b0',
    500: '#8d148f',
    950: '#000000',
  },
}
SCSS
$custom: #8d148f;
$custom-light: #b265b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d148f",
  "rgb": {
    "r": 141,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 299.024,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.46017,
    "c": 0.19893,
    "h": 327.5
  },
  "luminance": 0.08146
}

Semantic roles & 50–950 ramp

primary
#8D148F
secondary
#3EC33C
accent
#F23639
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D148F

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

Preview Lab → · Contrast checker → · Palette generator →

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