#8D38AE#8D38AE

#8D38AE is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.188 H 315.0°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8D38AE
RGBrgb(141, 56, 174)
HSLhsl(283, 51%, 45%)
HSVhsv(283, 68%, 68%)
CMYKcmyk(19%, 67.8%, 0%, 31.8%)
CIE-LABlab(40.49, 54.10, -47.28)
CIE-LCHlch(40.49, 71.84, 318.85°)
OKLaboklab(51.06% 0.133 -0.133)
OKLCHoklch(51.06% 0.188 315)
XYZxyz(20.0374, 11.5478, 41.2096)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D38AE #59AE38
analogous
#5238AE #8D38AE #AE3894
triadic
#8D38AE #AE8D38 #38AE8D
tetradic
#8D38AE #AE5238 #59AE38 #3894AE
square
#8D38AE #AE5238 #59AE38 #3894AE
split-complementary
#8D38AE #94AE38 #38AE52
monochromatic
#421A51 #672980 #8D38AE #AA59CA #C288D9

Accessibility & contrast

On white

6.35
#8D38AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8D38AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D38AE
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D38AE#FFFFFF#000000##FFFFFF
##8D38AE1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#3562AB
Tritanopia (blue-blind)
#8A4F6E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d38ae;
/* rgb */ color: rgb(141, 56, 174);
/* oklch */ color: oklch(51.1% 0.188 315.0);
Tailwind
colors: {
  custom: {
    50: '#b275c7',
    500: '#8d38ae',
    950: '#000000',
  },
}
SCSS
$custom: #8d38ae;
$custom-light: #b275c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d38ae",
  "rgb": {
    "r": 141,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 283.22,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51059,
    "c": 0.18804,
    "h": 315
  },
  "luminance": 0.11547
}

Semantic roles & 50–950 ramp

primary
#8D38AE
secondary
#92C37F
accent
#DB4D75
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D38AE

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

Preview Lab → · Contrast checker → · Palette generator →

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