#8D3099#8D3099

#8D3099 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.8% C 0.179 H 322.9°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8D3099
RGBrgb(141, 48, 153)
HSLhsl(293, 52%, 39%)
HSVhsv(293, 69%, 60%)
CMYKcmyk(7.8%, 68.6%, 0%, 40%)
CIE-LABlab(37.98, 53.34, -38.70)
CIE-LCHlch(37.98, 65.90, 324.04°)
OKLaboklab(48.84% 0.1428 -0.1078)
OKLCHoklch(48.84% 0.179 322.9)
XYZxyz(17.7907, 10.0775, 31.1389)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3099 #3C9930
analogous
#593099 #8D3099 #993071
triadic
#8D3099 #998D30 #30998D
tetradic
#8D3099 #995930 #3C9930 #307199
square
#8D3099 #995930 #3C9930 #307199
split-complementary
#8D3099 #719930 #309959
monochromatic
#37133C #62216A #8D3099 #B542C4 #C771D2

Accessibility & contrast

On white

6.96
#8D3099 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8D3099 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3099
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3099#FFFFFF#000000##FFFFFF
##8D30991.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13529C
Deuteranopia (green-blind)
#405D96
Tritanopia (blue-blind)
#8F4161
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d3099;
/* rgb */ color: rgb(141, 48, 153);
/* oklch */ color: oklch(48.8% 0.179 322.9);
Tailwind
colors: {
  custom: {
    50: '#b170b7',
    500: '#8d3099',
    950: '#000000',
  },
}
SCSS
$custom: #8d3099;
$custom-light: #b170b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3099",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 153
  },
  "hsl": {
    "h": 293.143,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48844,
    "c": 0.17891,
    "h": 322.9
  },
  "luminance": 0.10077
}

Semantic roles & 50–950 ramp

primary
#8D3099
secondary
#74BA6B
accent
#DC4C5D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D3099

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

Preview Lab → · Contrast checker → · Palette generator →

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