#8D188E#8D188E

#8D188E is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.195 H 327.8°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8D188E
RGBrgb(141, 24, 142)
HSLhsl(299, 71%, 33%)
HSVhsv(299, 83%, 56%)
CMYKcmyk(0.7%, 83.1%, 0%, 44.3%)
CIE-LABlab(34.54, 59.34, -37.46)
CIE-LCHlch(34.54, 70.18, 327.73°)
OKLaboklab(46.18% 0.1652 -0.1041)
OKLCHoklch(46.18% 0.195 327.8)
XYZxyz(16.1934, 8.2702, 26.3294)
Luminance0.0827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D188E #198E18
analogous
#52188E #8D188E #8E1854
triadic
#8D188E #8E8D18 #188E8D
tetradic
#8D188E #8E5218 #198E18 #18548E
square
#8D188E #8E5218 #198E18 #18548E
split-complementary
#8D188E #548E18 #188E52
monochromatic
#250625 #590F5A #8D188E #C121C2 #DE41DF

Accessibility & contrast

On white

7.91
#8D188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8D188E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D188E
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D188E#FFFFFF#000000##FFFFFF
##8D188E1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#3B568B
Tritanopia (blue-blind)
#922E55
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d188e;
/* rgb */ color: rgb(141, 24, 142);
/* oklch */ color: oklch(46.2% 0.195 327.8);
Tailwind
colors: {
  custom: {
    50: '#b266af',
    500: '#8d188e',
    950: '#000000',
  },
}
SCSS
$custom: #8d188e;
$custom-light: #b266af;
$custom-dark: #000000;
JSON
{
  "hex": "#8d188e",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 299.492,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.46175,
    "c": 0.19525,
    "h": 327.8
  },
  "luminance": 0.08269
}

Semantic roles & 50–950 ramp

primary
#8D188E
secondary
#43C042
accent
#EE3A3B
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D188E

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

Preview Lab → · Contrast checker → · Palette generator →

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