#8D39C5#8D39C5

#8D39C5 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.8% C 0.209 H 308.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8D39C5
RGBrgb(141, 57, 197)
HSLhsl(276, 55%, 50%)
HSVhsv(276, 71%, 77%)
CMYKcmyk(28.4%, 71.1%, 0%, 22.7%)
CIE-LABlab(42.19, 58.61, -58.05)
CIE-LCHlch(42.19, 82.49, 315.28°)
OKLaboklab(52.76% 0.1295 -0.1646)
OKLCHoklch(52.76% 0.209 308.2)
XYZxyz(22.5236, 12.6205, 54.0620)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D39C5 #71C539
analogous
#4739C5 #8D39C5 #C539B7
triadic
#8D39C5 #C58D39 #39C58D
tetradic
#8D39C5 #C54739 #71C539 #39B7C5
square
#8D39C5 #C54739 #71C539 #39B7C5
split-complementary
#8D39C5 #B7C539 #39C547
monochromatic
#491E66 #6B2B96 #8D39C5 #A868D3 #C497E1

Accessibility & contrast

On white

5.96
#8D39C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8D39C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D39C5
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D39C5#FFFFFF#000000##FFFFFF
##8D39C51.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#1164C2
Tritanopia (blue-blind)
#84597B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d39c5;
/* rgb */ color: rgb(141, 57, 197);
/* oklch */ color: oklch(52.8% 0.209 308.2);
Tailwind
colors: {
  custom: {
    50: '#b377d7',
    500: '#8d39c5',
    950: '#000000',
  },
}
SCSS
$custom: #8d39c5;
$custom-light: #b377d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d39c5",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 276,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52762,
    "c": 0.20942,
    "h": 308.2
  },
  "luminance": 0.1262
}

Semantic roles & 50–950 ramp

primary
#8D39C5
secondary
#A7CD8D
accent
#DE4985
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8D39C5

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

Preview Lab → · Contrast checker → · Palette generator →

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