#8D3295#8D3295

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

Color values

HEX#8D3295
RGBrgb(141, 50, 149)
HSLhsl(295, 50%, 39%)
HSVhsv(295, 66%, 58%)
CMYKcmyk(5.4%, 66.4%, 0%, 41.6%)
CIE-LABlab(38.05, 51.75, -36.16)
CIE-LCHlch(38.05, 63.14, 325.05°)
OKLaboklab(48.82% 0.1404 -0.1005)
OKLCHoklch(48.82% 0.173 324.4)
XYZxyz(17.5495, 10.1149, 29.4559)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3295 #3A9532
analogous
#5C3295 #8D3295 #95326C
triadic
#8D3295 #958D32 #32958D
tetradic
#8D3295 #955C32 #3A9532 #326C95
square
#8D3295 #955C32 #3A9532 #326C95
split-complementary
#8D3295 #6C9532 #32955C
monochromatic
#361339 #622367 #8D3295 #B644C0 #C872D0

Accessibility & contrast

On white

6.95
#8D3295 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D3295
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3295#FFFFFF#000000##FFFFFF
##8D32951.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5298
Deuteranopia (green-blind)
#435D92
Tritanopia (blue-blind)
#90415F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d3295;
/* rgb */ color: rgb(141, 50, 149);
/* oklch */ color: oklch(48.8% 0.173 324.4);
Tailwind
colors: {
  custom: {
    50: '#b171b4',
    500: '#8d3295',
    950: '#000000',
  },
}
SCSS
$custom: #8d3295;
$custom-light: #b171b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3295",
  "rgb": {
    "r": 141,
    "g": 50,
    "b": 149
  },
  "hsl": {
    "h": 295.152,
    "s": 49.749,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48818,
    "c": 0.17268,
    "h": 324.4
  },
  "luminance": 0.10114
}

Semantic roles & 50–950 ramp

primary
#8D3295
secondary
#71B86B
accent
#D94F5A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D3295

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

Preview Lab → · Contrast checker → · Palette generator →

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