#8D338F#8D338F

#8D338F is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.6% C 0.166 H 326.9°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8D338F
RGBrgb(141, 51, 143)
HSLhsl(299, 47%, 38%)
HSVhsv(299, 64%, 56%)
CMYKcmyk(1.4%, 64.3%, 0%, 43.9%)
CIE-LABlab(37.87, 50.21, -32.79)
CIE-LCHlch(37.87, 59.97, 326.85°)
OKLaboklab(48.58% 0.139 -0.0907)
OKLCHoklch(48.58% 0.166 326.9)
XYZxyz(17.1260, 10.0146, 27.0122)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D338F #358F33
analogous
#5F338F #8D338F #8F3363
triadic
#8D338F #8F8D33 #338F8D
tetradic
#8D338F #8F5F33 #358F33 #33638F
square
#8D338F #8F5F33 #358F33 #33638F
split-complementary
#8D338F #638F33 #338F5F
monochromatic
#341335 #612362 #8D338F #B943BC #CA70CC

Accessibility & contrast

On white

6.99
#8D338F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#8D338F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D338F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D338F#FFFFFF#000000##FFFFFF
##8D338F1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265292
Deuteranopia (green-blind)
#475D8D
Tritanopia (blue-blind)
#913F5C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d338f;
/* rgb */ color: rgb(141, 51, 143);
/* oklch */ color: oklch(48.6% 0.166 326.9);
Tailwind
colors: {
  custom: {
    50: '#b172b0',
    500: '#8d338f',
    950: '#000000',
  },
}
SCSS
$custom: #8d338f;
$custom-light: #b172b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d338f",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 298.696,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4858,
    "c": 0.16597,
    "h": 326.9
  },
  "luminance": 0.10014
}

Semantic roles & 50–950 ramp

primary
#8D338F
secondary
#6BB46A
accent
#D75154
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D338F

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

Preview Lab → · Contrast checker → · Palette generator →

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