#8D38BB#8D38BB

#8D38BB is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.9% C 0.201 H 311.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8D38BB
RGBrgb(141, 56, 187)
HSLhsl(279, 54%, 48%)
HSVhsv(279, 70%, 73%)
CMYKcmyk(24.6%, 70.1%, 0%, 26.7%)
CIE-LABlab(41.34, 56.86, -53.57)
CIE-LCHlch(41.34, 78.12, 316.70°)
OKLaboklab(51.94% 0.1318 -0.1514)
OKLCHoklch(51.94% 0.201 311)
XYZxyz(21.3666, 12.0794, 48.2101)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D38BB #66BB38
analogous
#4B38BB #8D38BB #BB38A8
triadic
#8D38BB #BB8D38 #38BB8D
tetradic
#8D38BB #BB4B38 #66BB38 #38A8BB
square
#8D38BB #BB4B38 #66BB38 #38A8BB
split-complementary
#8D38BB #A8BB38 #38BB4B
monochromatic
#461C5D #692A8C #8D38BB #A961D0 #C290DE

Accessibility & contrast

On white

6.15
#8D38BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8D38BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D38BB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D38BB#FFFFFF#000000##FFFFFF
##8D38BB1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#2563B8
Tritanopia (blue-blind)
#875476
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d38bb;
/* rgb */ color: rgb(141, 56, 187);
/* oklch */ color: oklch(51.9% 0.201 311.0);
Tailwind
colors: {
  custom: {
    50: '#b276d0',
    500: '#8d38bb',
    950: '#000000',
  },
}
SCSS
$custom: #8d38bb;
$custom-light: #b276d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d38bb",
  "rgb": {
    "r": 141,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 278.931,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51942,
    "c": 0.20076,
    "h": 311
  },
  "luminance": 0.12079
}

Semantic roles & 50–950 ramp

primary
#8D38BB
secondary
#9EC886
accent
#DD4B7E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8D38BB

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

Preview Lab → · Contrast checker → · Palette generator →

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