#8D38B8#8D38B8

#8D38B8 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.7% C 0.198 H 311.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8D38B8
RGBrgb(141, 56, 184)
HSLhsl(280, 53%, 47%)
HSVhsv(280, 70%, 72%)
CMYKcmyk(23.4%, 69.6%, 0%, 27.8%)
CIE-LABlab(41.14, 56.21, -52.13)
CIE-LCHlch(41.14, 76.67, 317.16°)
OKLaboklab(51.73% 0.1321 -0.1472)
OKLCHoklch(51.73% 0.198 311.9)
XYZxyz(21.0488, 11.9523, 46.5363)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D38B8 #63B838
analogous
#4D38B8 #8D38B8 #B838A3
triadic
#8D38B8 #B88D38 #38B88D
tetradic
#8D38B8 #B84D38 #63B838 #38A3B8
square
#8D38B8 #B84D38 #63B838 #38A3B8
split-complementary
#8D38B8 #A3B838 #38B84D
monochromatic
#451B5A #692A89 #8D38B8 #A95FCE #C28EDD

Accessibility & contrast

On white

6.19
#8D38B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8D38B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D38B8
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D38B8#FFFFFF#000000##FFFFFF
##8D38B81.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#2963B5
Tritanopia (blue-blind)
#885374
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d38b8;
/* rgb */ color: rgb(141, 56, 184);
/* oklch */ color: oklch(51.7% 0.198 311.9);
Tailwind
colors: {
  custom: {
    50: '#b276ce',
    500: '#8d38b8',
    950: '#000000',
  },
}
SCSS
$custom: #8d38b8;
$custom-light: #b276ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8d38b8",
  "rgb": {
    "r": 141,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 279.844,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51734,
    "c": 0.19782,
    "h": 311.9
  },
  "luminance": 0.11952
}

Semantic roles & 50–950 ramp

primary
#8D38B8
secondary
#9BC785
accent
#DD4B7C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8D38B8

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

Preview Lab → · Contrast checker → · Palette generator →

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