#8D38B7#8D38B7

#8D38B7 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.197 H 312.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8D38B7
RGBrgb(141, 56, 183)
HSLhsl(280, 53%, 47%)
HSVhsv(280, 69%, 72%)
CMYKcmyk(23%, 69.4%, 0%, 28.2%)
CIE-LABlab(41.07, 56.00, -51.65)
CIE-LCHlch(41.07, 76.18, 317.31°)
OKLaboklab(51.67% 0.1322 -0.1458)
OKLCHoklch(51.67% 0.197 312.2)
XYZxyz(20.9444, 11.9105, 45.9862)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D38B7 #62B738
analogous
#4D38B7 #8D38B7 #B738A2
triadic
#8D38B7 #B78D38 #38B78D
tetradic
#8D38B7 #B74D38 #62B738 #38A2B7
square
#8D38B7 #B74D38 #62B738 #38A2B7
split-complementary
#8D38B7 #A2B738 #38B74D
monochromatic
#451B59 #692A88 #8D38B7 #A95ECE #C28DDC

Accessibility & contrast

On white

6.21
#8D38B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8D38B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D38B7
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D38B7#FFFFFF#000000##FFFFFF
##8D38B71.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#2B63B4
Tritanopia (blue-blind)
#885373
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d38b7;
/* rgb */ color: rgb(141, 56, 183);
/* oklch */ color: oklch(51.7% 0.197 312.2);
Tailwind
colors: {
  custom: {
    50: '#b276cd',
    500: '#8d38b7',
    950: '#000000',
  },
}
SCSS
$custom: #8d38b7;
$custom-light: #b276cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d38b7",
  "rgb": {
    "r": 141,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 280.157,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51665,
    "c": 0.19684,
    "h": 312.2
  },
  "luminance": 0.1191
}

Semantic roles & 50–950 ramp

primary
#8D38B7
secondary
#9AC784
accent
#DD4B7B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8D38B7

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

Preview Lab → · Contrast checker → · Palette generator →

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