#8D338D#8D338D

#8D338D is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.5% C 0.164 H 327.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8D338D
RGBrgb(141, 51, 141)
HSLhsl(300, 47%, 38%)
HSVhsv(300, 64%, 55%)
CMYKcmyk(0%, 63.8%, 0%, 44.7%)
CIE-LABlab(37.76, 49.85, -31.74)
CIE-LCHlch(37.76, 59.10, 327.52°)
OKLaboklab(48.47% 0.1389 -0.0876)
OKLCHoklch(48.47% 0.164 327.7)
XYZxyz(16.9758, 9.9546, 26.2214)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D338D #338D33
analogous
#60338D #8D338D #8D3360
triadic
#8D338D #8D8D33 #338D8D
tetradic
#8D338D #8D6033 #338D33 #33608D
square
#8D338D #8D6033 #338D33 #33608D
split-complementary
#8D338D #608D33 #338D60
monochromatic
#331233 #602360 #8D338D #BA43BA #CB6FCB

Accessibility & contrast

On white

7.02
#8D338D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8D338D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D338D
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D338D#FFFFFF#000000##FFFFFF
##8D338D1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285190
Deuteranopia (green-blind)
#485D8B
Tritanopia (blue-blind)
#913F5B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d338d;
/* rgb */ color: rgb(141, 51, 141);
/* oklch */ color: oklch(48.5% 0.164 327.7);
Tailwind
colors: {
  custom: {
    50: '#b171af',
    500: '#8d338d',
    950: '#000000',
  },
}
SCSS
$custom: #8d338d;
$custom-light: #b171af;
$custom-dark: #000000;
JSON
{
  "hex": "#8d338d",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 300,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48467,
    "c": 0.16422,
    "h": 327.7
  },
  "luminance": 0.09953
}

Semantic roles & 50–950 ramp

primary
#8D338D
secondary
#69B369
accent
#D75151
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D338D

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

Preview Lab → · Contrast checker → · Palette generator →

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