#8D39BA#8D39BA

#8D39BA is a mid, vivid violet. Relative luminance 0.121; OKLCH L 52.0% C 0.199 H 311.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8D39BA
RGBrgb(141, 57, 186)
HSLhsl(279, 53%, 48%)
HSVhsv(279, 69%, 73%)
CMYKcmyk(24.2%, 69.4%, 0%, 27.1%)
CIE-LABlab(41.43, 56.21, -52.84)
CIE-LCHlch(41.43, 77.15, 316.77°)
OKLaboklab(51.98% 0.1309 -0.1493)
OKLCHoklch(51.98% 0.199 311.2)
XYZxyz(21.3089, 12.1347, 47.6646)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D39BA #66BA39
analogous
#4D39BA #8D39BA #BA39A6
triadic
#8D39BA #BA8D39 #39BA8D
tetradic
#8D39BA #BA4D39 #66BA39 #39A6BA
square
#8D39BA #BA4D39 #66BA39 #39A6BA
split-complementary
#8D39BA #A6BA39 #39BA4D
monochromatic
#461C5C #692B8B #8D39BA #A961CF #C290DD

Accessibility & contrast

On white

6.13
#8D39BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8D39BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D39BA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D39BA#FFFFFF#000000##FFFFFF
##8D39BA1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#2863B7
Tritanopia (blue-blind)
#875475
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d39ba;
/* rgb */ color: rgb(141, 57, 186);
/* oklch */ color: oklch(52.0% 0.199 311.2);
Tailwind
colors: {
  custom: {
    50: '#b276cf',
    500: '#8d39ba',
    950: '#000000',
  },
}
SCSS
$custom: #8d39ba;
$custom-light: #b276cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d39ba",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 279.07,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51983,
    "c": 0.19853,
    "h": 311.2
  },
  "luminance": 0.12134
}

Semantic roles & 50–950 ramp

primary
#8D39BA
secondary
#9EC887
accent
#DC4B7E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8D39BA

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

Preview Lab → · Contrast checker → · Palette generator →

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