#8D4099#8D4099

#8D4099 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 50.8% C 0.156 H 322.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8D4099
RGBrgb(141, 64, 153)
HSLhsl(292, 41%, 43%)
HSVhsv(292, 58%, 60%)
CMYKcmyk(7.8%, 58.2%, 0%, 40%)
CIE-LABlab(40.62, 46.05, -34.51)
CIE-LCHlch(40.62, 57.55, 323.16°)
OKLaboklab(50.76% 0.1229 -0.0958)
OKLCHoklch(50.76% 0.156 322.1)
XYZxyz(18.5671, 11.6303, 31.3977)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4099 #4C9940
analogous
#604099 #8D4099 #994079
triadic
#8D4099 #998D40 #40998D
tetradic
#8D4099 #996040 #4C9940 #407999
square
#8D4099 #996040 #4C9940 #407999
split-complementary
#8D4099 #799940 #409960
monochromatic
#3D1C43 #652E6E #8D4099 #AE5CBB #C387CD

Accessibility & contrast

On white

6.31
#8D4099 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8D4099 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4099
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4099#FFFFFF#000000##FFFFFF
##8D40991.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9C
Deuteranopia (green-blind)
#4A6397
Tritanopia (blue-blind)
#8F4D66
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d4099;
/* rgb */ color: rgb(141, 64, 153);
/* oklch */ color: oklch(50.8% 0.156 322.1);
Tailwind
colors: {
  custom: {
    50: '#b179b7',
    500: '#8d4099',
    950: '#000000',
  },
}
SCSS
$custom: #8d4099;
$custom-light: #b179b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4099",
  "rgb": {
    "r": 141,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 291.91,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50759,
    "c": 0.15581,
    "h": 322.1
  },
  "luminance": 0.11629
}

Semantic roles & 50–950 ramp

primary
#8D4099
secondary
#85B77E
accent
#D15767
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8D4099

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

Preview Lab → · Contrast checker → · Palette generator →

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