#8D39D6#8D39D6

#8D39D6 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 54.0% C 0.226 H 304.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8D39D6
RGBrgb(141, 57, 214)
HSLhsl(272, 66%, 53%)
HSVhsv(272, 73%, 84%)
CMYKcmyk(34.1%, 73.4%, 0%, 16.1%)
CIE-LABlab(43.42, 62.42, -65.86)
CIE-LCHlch(43.42, 90.75, 313.46°)
OKLaboklab(54.03% 0.1265 -0.1876)
OKLCHoklch(54.03% 0.226 304)
XYZxyz(24.5824, 13.4441, 64.9052)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D39D6 #82D639
analogous
#3E39D6 #8D39D6 #D639D0
triadic
#8D39D6 #D68D39 #39D68D
tetradic
#8D39D6 #D63E39 #82D639 #39D0D6
square
#8D39D6 #D63E39 #82D639 #39D0D6
split-complementary
#8D39D6 #D0D639 #39D63E
monochromatic
#4E197B #6E24AE #8D39D6 #AA6CE0 #C79EEB

Accessibility & contrast

On white

5.69
#8D39D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8D39D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D39D6
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D39D6#FFFFFF#000000##FFFFFF
##8D39D61.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DA
Deuteranopia (green-blind)
#0066D3
Tritanopia (blue-blind)
#7F6085
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8d39d6;
/* rgb */ color: rgb(141, 57, 214);
/* oklch */ color: oklch(54.0% 0.226 304.0);
Tailwind
colors: {
  custom: {
    50: '#b477e4',
    500: '#8d39d6',
    950: '#000000',
  },
}
SCSS
$custom: #8d39d6;
$custom-light: #b477e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d39d6",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 214
  },
  "hsl": {
    "h": 272.102,
    "s": 65.69,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54029,
    "c": 0.22624,
    "h": 304
  },
  "luminance": 0.13444
}

Semantic roles & 50–950 ramp

primary
#8D39D6
secondary
#B3D794
accent
#E93F8E
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8D39D6

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

Preview Lab → · Contrast checker → · Palette generator →

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