#8D148E#8D148E

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

Color values

HEX#8D148E
RGBrgb(141, 20, 142)
HSLhsl(300, 75%, 32%)
HSVhsv(300, 86%, 56%)
CMYKcmyk(0.7%, 85.9%, 0%, 44.3%)
CIE-LABlab(34.23, 60.26, -37.96)
CIE-LCHlch(34.23, 71.22, 327.79°)
OKLaboklab(45.95% 0.1678 -0.1055)
OKLCHoklch(45.95% 0.198 327.8)
XYZxyz(16.1169, 8.1173, 26.3039)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D148E #158E14
analogous
#50148E #8D148E #8E1452
triadic
#8D148E #8E8D14 #148E8D
tetradic
#8D148E #8E5014 #158E14 #14528E
square
#8D148E #8E5014 #158E14 #14528E
split-complementary
#8D148E #528E14 #148E50
monochromatic
#220523 #580C58 #8D148E #C21CC4 #E239E3

Accessibility & contrast

On white

8.01
#8D148E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D148E
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D148E#FFFFFF#000000##FFFFFF
##8D148E1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#3A568B
Tritanopia (blue-blind)
#922C54
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d148e;
/* rgb */ color: rgb(141, 20, 142);
/* oklch */ color: oklch(46.0% 0.198 327.8);
Tailwind
colors: {
  custom: {
    50: '#b265af',
    500: '#8d148e',
    950: '#000000',
  },
}
SCSS
$custom: #8d148e;
$custom-light: #b265af;
$custom-dark: #000000;
JSON
{
  "hex": "#8d148e",
  "rgb": {
    "r": 141,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 299.508,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45954,
    "c": 0.19819,
    "h": 327.8
  },
  "luminance": 0.08116
}

Semantic roles & 50–950 ramp

primary
#8D148E
secondary
#3DC23C
accent
#F23637
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D148E

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

Preview Lab → · Contrast checker → · Palette generator →

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