#8D3299#8D3299

#8D3299 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.1% C 0.176 H 322.8°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8D3299
RGBrgb(141, 50, 153)
HSLhsl(293, 51%, 40%)
HSVhsv(293, 67%, 60%)
CMYKcmyk(7.8%, 67.3%, 0%, 40%)
CIE-LABlab(38.28, 52.50, -38.22)
CIE-LCHlch(38.28, 64.94, 323.94°)
OKLaboklab(49.06% 0.1405 -0.1065)
OKLCHoklch(49.06% 0.176 322.8)
XYZxyz(17.8743, 10.2448, 31.1668)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3299 #3E9932
analogous
#5A3299 #8D3299 #993271
triadic
#8D3299 #998D32 #32998D
tetradic
#8D3299 #995A32 #3E9932 #327199
square
#8D3299 #995A32 #3E9932 #327199
split-complementary
#8D3299 #719932 #32995A
monochromatic
#38143D #62236B #8D3299 #B446C2 #C774D2

Accessibility & contrast

On white

6.89
#8D3299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8D3299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3299
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3299#FFFFFF#000000##FFFFFF
##8D32991.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18539C
Deuteranopia (green-blind)
#415E96
Tritanopia (blue-blind)
#8F4361
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d3299;
/* rgb */ color: rgb(141, 50, 153);
/* oklch */ color: oklch(49.1% 0.176 322.8);
Tailwind
colors: {
  custom: {
    50: '#b171b7',
    500: '#8d3299',
    950: '#000000',
  },
}
SCSS
$custom: #8d3299;
$custom-light: #b171b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3299",
  "rgb": {
    "r": 141,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 293.01,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49058,
    "c": 0.17627,
    "h": 322.8
  },
  "luminance": 0.10244
}

Semantic roles & 50–950 ramp

primary
#8D3299
secondary
#76BA6D
accent
#DA4E5E
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D3299

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

Preview Lab → · Contrast checker → · Palette generator →

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