#8D38BA#8D38BA

#8D38BA is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.9% C 0.200 H 311.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8D38BA
RGBrgb(141, 56, 186)
HSLhsl(279, 54%, 47%)
HSVhsv(279, 70%, 73%)
CMYKcmyk(24.2%, 69.9%, 0%, 27.1%)
CIE-LABlab(41.27, 56.64, -53.09)
CIE-LCHlch(41.27, 77.63, 316.85°)
OKLaboklab(51.87% 0.1319 -0.15)
OKLCHoklch(51.87% 0.2 311.3)
XYZxyz(21.2599, 12.0368, 47.6482)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D38BA #65BA38
analogous
#4C38BA #8D38BA #BA38A6
triadic
#8D38BA #BA8D38 #38BA8D
tetradic
#8D38BA #BA4C38 #65BA38 #38A6BA
square
#8D38BA #BA4C38 #65BA38 #38A6BA
split-complementary
#8D38BA #A6BA38 #38BA4C
monochromatic
#461C5C #692A8B #8D38BA #A960CF #C28FDD

Accessibility & contrast

On white

6.16
#8D38BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8D38BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D38BA
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D38BA#FFFFFF#000000##FFFFFF
##8D38BA1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#2763B7
Tritanopia (blue-blind)
#875475
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d38ba;
/* rgb */ color: rgb(141, 56, 186);
/* oklch */ color: oklch(51.9% 0.200 311.3);
Tailwind
colors: {
  custom: {
    50: '#b276cf',
    500: '#8d38ba',
    950: '#000000',
  },
}
SCSS
$custom: #8d38ba;
$custom-light: #b276cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d38ba",
  "rgb": {
    "r": 141,
    "g": 56,
    "b": 186
  },
  "hsl": {
    "h": 279.231,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51872,
    "c": 0.19978,
    "h": 311.3
  },
  "luminance": 0.12036
}

Semantic roles & 50–950 ramp

primary
#8D38BA
secondary
#9DC886
accent
#DD4B7D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8D38BA

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

Preview Lab → · Contrast checker → · Palette generator →

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