#8D138E#8D138E

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

Color values

HEX#8D138E
RGBrgb(141, 19, 142)
HSLhsl(300, 76%, 32%)
HSVhsv(300, 87%, 56%)
CMYKcmyk(0.7%, 86.6%, 0%, 44.3%)
CIE-LABlab(34.15, 60.47, -38.08)
CIE-LCHlch(34.15, 71.46, 327.80°)
OKLaboklab(45.9% 0.1684 -0.1058)
OKLCHoklch(45.9% 0.199 327.8)
XYZxyz(16.0997, 8.0827, 26.2981)
Luminance0.0808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D138E #148E13
analogous
#50138E #8D138E #8E1352
triadic
#8D138E #8E8D13 #138E8D
tetradic
#8D138E #8E5013 #148E13 #13528E
square
#8D138E #8E5013 #148E13 #13528E
split-complementary
#8D138E #528E13 #138E50
monochromatic
#220522 #570C58 #8D138E #C31AC4 #E337E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D138E#FFFFFF#000000##FFFFFF
##8D138E1.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)
#004791
Deuteranopia (green-blind)
#3A558B
Tritanopia (blue-blind)
#922C54
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d138e;
/* rgb */ color: rgb(141, 19, 142);
/* oklch */ color: oklch(45.9% 0.199 327.8);
Tailwind
colors: {
  custom: {
    50: '#b265af',
    500: '#8d138e',
    950: '#000000',
  },
}
SCSS
$custom: #8d138e;
$custom-light: #b265af;
$custom-dark: #000000;
JSON
{
  "hex": "#8d138e",
  "rgb": {
    "r": 141,
    "g": 19,
    "b": 142
  },
  "hsl": {
    "h": 299.512,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45903,
    "c": 0.19887,
    "h": 327.8
  },
  "luminance": 0.08081
}

Semantic roles & 50–950 ramp

primary
#8D138E
secondary
#3CC23B
accent
#F33536
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110610
muted
#807A7F

Preview Lab

Preview with #8D138E

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

Preview Lab → · Contrast checker → · Palette generator →

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