#8D39DC#8D39DC

#8D39DC is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.5% C 0.232 H 302.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8D39DC
RGBrgb(141, 57, 220)
HSLhsl(271, 70%, 54%)
HSVhsv(271, 74%, 86%)
CMYKcmyk(35.9%, 74.1%, 0%, 13.7%)
CIE-LABlab(43.88, 63.79, -68.56)
CIE-LCHlch(43.88, 93.65, 312.94°)
OKLaboklab(54.49% 0.1253 -0.1955)
OKLCHoklch(54.49% 0.232 302.7)
XYZxyz(25.3628, 13.7562, 69.0153)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D39DC #88DC39
analogous
#3C39DC #8D39DC #DC39DA
triadic
#8D39DC #DC8D39 #39DC8D
tetradic
#8D39DC #DC3C39 #88DC39 #39DADC
square
#8D39DC #DC3C39 #88DC39 #39DADC
split-complementary
#8D39DC #DADC39 #39DC3C
monochromatic
#4F1783 #6E20B7 #8D39DC #AB6DE5 #C9A1EE

Accessibility & contrast

On white

5.60
#8D39DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8D39DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D39DC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D39DC#FFFFFF#000000##FFFFFF
##8D39DC1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E1
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#7D6288
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d39dc;
/* rgb */ color: rgb(141, 57, 220);
/* oklch */ color: oklch(54.5% 0.232 302.7);
Tailwind
colors: {
  custom: {
    50: '#b577e8',
    500: '#8d39dc',
    950: '#000000',
  },
}
SCSS
$custom: #8d39dc;
$custom-light: #b577e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d39dc",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 220
  },
  "hsl": {
    "h": 270.92,
    "s": 69.957,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54493,
    "c": 0.23218,
    "h": 302.7
  },
  "luminance": 0.13756
}

Semantic roles & 50–950 ramp

primary
#8D39DC
secondary
#B7DB96
accent
#ED3B91
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8D39DC

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

Preview Lab → · Contrast checker → · Palette generator →

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