#8D128F#8D128F

#8D128F is a mid, highly saturated purple. Relative luminance 0.081; OKLCH L 45.9% C 0.200 H 327.5°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8D128F
RGBrgb(141, 18, 143)
HSLhsl(299, 78%, 32%)
HSVhsv(299, 87%, 56%)
CMYKcmyk(1.4%, 87.4%, 0%, 43.9%)
CIE-LABlab(34.15, 60.83, -38.70)
CIE-LCHlch(34.15, 72.10, 327.53°)
OKLaboklab(45.92% 0.1689 -0.1076)
OKLCHoklch(45.92% 0.2 327.5)
XYZxyz(16.1585, 8.0797, 26.6898)
Luminance0.0808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D128F #148F12
analogous
#4F128F #8D128F #8F1253
triadic
#8D128F #8F8D12 #128F8D
tetradic
#8D128F #8F4F12 #148F12 #12538F
square
#8D128F #8F4F12 #148F12 #12538F
split-complementary
#8D128F #538F12 #128F4F
monochromatic
#220422 #570B59 #8D128F #C319C5 #E336E6

Accessibility & contrast

On white

8.03
#8D128F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8D128F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D128F
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D128F#FFFFFF#000000##FFFFFF
##8D128F1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#39558C
Tritanopia (blue-blind)
#912C54
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d128f;
/* rgb */ color: rgb(141, 18, 143);
/* oklch */ color: oklch(45.9% 0.200 327.5);
Tailwind
colors: {
  custom: {
    50: '#b265b0',
    500: '#8d128f',
    950: '#000000',
  },
}
SCSS
$custom: #8d128f;
$custom-light: #b265b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d128f",
  "rgb": {
    "r": 141,
    "g": 18,
    "b": 143
  },
  "hsl": {
    "h": 299.04,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45919,
    "c": 0.20025,
    "h": 327.5
  },
  "luminance": 0.08079
}

Semantic roles & 50–950 ramp

primary
#8D128F
secondary
#3CC33A
accent
#F43437
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110610
muted
#807A7F

Preview Lab

Preview with #8D128F

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

Preview Lab → · Contrast checker → · Palette generator →

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