#8D3293#8D3293

#8D3293 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.7% C 0.171 H 325.2°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8D3293
RGBrgb(141, 50, 147)
HSLhsl(296, 49%, 39%)
HSVhsv(296, 66%, 58%)
CMYKcmyk(4.1%, 66%, 0%, 42.4%)
CIE-LABlab(37.93, 51.38, -35.13)
CIE-LCHlch(37.93, 62.24, 325.64°)
OKLaboklab(48.7% 0.1404 -0.0974)
OKLCHoklch(48.7% 0.171 325.2)
XYZxyz(17.3912, 10.0516, 28.6222)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3293 #389332
analogous
#5C3293 #8D3293 #933268
triadic
#8D3293 #938D32 #32938D
tetradic
#8D3293 #935C32 #389332 #326893
square
#8D3293 #935C32 #389332 #326893
split-complementary
#8D3293 #689332 #32935C
monochromatic
#351338 #612265 #8D3293 #B743BF #C971CF

Accessibility & contrast

On white

6.98
#8D3293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8D3293 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3293
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3293#FFFFFF#000000##FFFFFF
##8D32931.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205296
Deuteranopia (green-blind)
#455D90
Tritanopia (blue-blind)
#90405E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d3293;
/* rgb */ color: rgb(141, 50, 147);
/* oklch */ color: oklch(48.7% 0.171 325.2);
Tailwind
colors: {
  custom: {
    50: '#b171b3',
    500: '#8d3293',
    950: '#000000',
  },
}
SCSS
$custom: #8d3293;
$custom-light: #b171b3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3293",
  "rgb": {
    "r": 141,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 296.289,
    "s": 49.239,
    "l": 38.627
  },
  "oklch": {
    "l": 0.487,
    "c": 0.1709,
    "h": 325.2
  },
  "luminance": 0.10051
}

Semantic roles & 50–950 ramp

primary
#8D3293
secondary
#6FB76A
accent
#D94F58
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D3293

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

Preview Lab → · Contrast checker → · Palette generator →

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