#8D38AF#8D38AF

#8D38AF is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.1% C 0.189 H 314.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8D38AF
RGBrgb(141, 56, 175)
HSLhsl(283, 52%, 45%)
HSVhsv(283, 68%, 69%)
CMYKcmyk(19.4%, 68%, 0%, 31.4%)
CIE-LABlab(40.55, 54.31, -47.77)
CIE-LCHlch(40.55, 72.32, 318.67°)
OKLaboklab(51.13% 0.1329 -0.1344)
OKLCHoklch(51.13% 0.189 314.7)
XYZxyz(20.1353, 11.5869, 41.7250)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D38AF #5AAF38
analogous
#5138AF #8D38AF #AF3895
triadic
#8D38AF #AF8D38 #38AF8D
tetradic
#8D38AF #AF5138 #5AAF38 #3895AF
square
#8D38AF #AF5138 #5AAF38 #3895AF
split-complementary
#8D38AF #95AF38 #38AF51
monochromatic
#421A52 #682981 #8D38AF #AA5ACA #C288D9

Accessibility & contrast

On white

6.33
#8D38AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8D38AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D38AF
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D38AF#FFFFFF#000000##FFFFFF
##8D38AF1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#3462AC
Tritanopia (blue-blind)
#8A506F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d38af;
/* rgb */ color: rgb(141, 56, 175);
/* oklch */ color: oklch(51.1% 0.189 314.7);
Tailwind
colors: {
  custom: {
    50: '#b275c7',
    500: '#8d38af',
    950: '#000000',
  },
}
SCSS
$custom: #8d38af;
$custom-light: #b275c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d38af",
  "rgb": {
    "r": 141,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 282.857,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51125,
    "c": 0.18902,
    "h": 314.7
  },
  "luminance": 0.11586
}

Semantic roles & 50–950 ramp

primary
#8D38AF
secondary
#93C380
accent
#DB4D75
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D38AF

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

Preview Lab → · Contrast checker → · Palette generator →

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