#8D4698#8D4698

#8D4698 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 51.5% C 0.145 H 322.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8D4698
RGBrgb(141, 70, 152)
HSLhsl(292, 37%, 44%)
HSVhsv(292, 54%, 60%)
CMYKcmyk(7.2%, 53.9%, 0%, 40.4%)
CIE-LABlab(41.71, 42.81, -32.20)
CIE-LCHlch(41.71, 53.56, 323.05°)
OKLaboklab(51.54% 0.1145 -0.0891)
OKLCHoklch(51.54% 0.145 322.1)
XYZxyz(18.8416, 12.3109, 31.0834)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4698 #519846
analogous
#644698 #8D4698 #98467A
triadic
#8D4698 #988D46 #46988D
tetradic
#8D4698 #986446 #519846 #467A98
square
#8D4698 #986446 #519846 #467A98
split-complementary
#8D4698 #7A9846 #469864
monochromatic
#3F1F44 #66336E #8D4698 #AC64B7 #C38ECB

Accessibility & contrast

On white

6.07
#8D4698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8D4698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4698
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4698#FFFFFF#000000##FFFFFF
##8D46981.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395D9B
Deuteranopia (green-blind)
#4F6596
Tritanopia (blue-blind)
#8F5168
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d4698;
/* rgb */ color: rgb(141, 70, 152);
/* oklch */ color: oklch(51.5% 0.145 322.1);
Tailwind
colors: {
  custom: {
    50: '#b07db6',
    500: '#8d4698',
    950: '#000000',
  },
}
SCSS
$custom: #8d4698;
$custom-light: #b07db6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4698",
  "rgb": {
    "r": 141,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 291.951,
    "s": 36.937,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51537,
    "c": 0.1451,
    "h": 322.1
  },
  "luminance": 0.1231
}

Semantic roles & 50–950 ramp

primary
#8D4698
secondary
#8AB684
accent
#CD5B6A
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8D4698

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

Preview Lab → · Contrast checker → · Palette generator →

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