#8D39D3#8D39D3

#8D39D3 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.8% C 0.223 H 304.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8D39D3
RGBrgb(141, 57, 211)
HSLhsl(273, 64%, 53%)
HSVhsv(273, 73%, 83%)
CMYKcmyk(33.2%, 73%, 0%, 17.3%)
CIE-LABlab(43.20, 61.74, -64.50)
CIE-LCHlch(43.20, 89.29, 313.75°)
OKLaboklab(53.8% 0.1271 -0.1836)
OKLCHoklch(53.8% 0.223 304.7)
XYZxyz(24.2028, 13.2922, 62.9060)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D39D3 #7FD339
analogous
#4039D3 #8D39D3 #D339CC
triadic
#8D39D3 #D38D39 #39D38D
tetradic
#8D39D3 #D34039 #7FD339 #39CCD3
square
#8D39D3 #D34039 #7FD339 #39CCD3
split-complementary
#8D39D3 #CCD339 #39D340
monochromatic
#4D1A77 #6D26A9 #8D39D3 #AA6BDE #C79DE9

Accessibility & contrast

On white

5.74
#8D39D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8D39D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D39D3
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D39D3#FFFFFF#000000##FFFFFF
##8D39D31.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D7
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#805F83
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d39d3;
/* rgb */ color: rgb(141, 57, 211);
/* oklch */ color: oklch(53.8% 0.223 304.7);
Tailwind
colors: {
  custom: {
    50: '#b477e1',
    500: '#8d39d3',
    950: '#000000',
  },
}
SCSS
$custom: #8d39d3;
$custom-light: #b477e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d39d3",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 211
  },
  "hsl": {
    "h": 272.727,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.538,
    "c": 0.22328,
    "h": 304.7
  },
  "luminance": 0.13292
}

Semantic roles & 50–950 ramp

primary
#8D39D3
secondary
#B1D592
accent
#E7418C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D39D3

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

Preview Lab → · Contrast checker → · Palette generator →

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