#8D39C2#8D39C2

#8D39C2 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.5% C 0.206 H 309.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8D39C2
RGBrgb(141, 57, 194)
HSLhsl(277, 55%, 49%)
HSVhsv(277, 71%, 76%)
CMYKcmyk(27.3%, 70.6%, 0%, 23.9%)
CIE-LABlab(41.98, 57.95, -56.64)
CIE-LCHlch(41.98, 81.03, 315.65°)
OKLaboklab(52.55% 0.1299 -0.1605)
OKLCHoklch(52.55% 0.206 309)
XYZxyz(22.1833, 12.4844, 52.2696)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D39C2 #6EC239
analogous
#4839C2 #8D39C2 #C239B3
triadic
#8D39C2 #C28D39 #39C28D
tetradic
#8D39C2 #C24839 #6EC239 #39B3C2
square
#8D39C2 #C24839 #6EC239 #39B3C2
split-complementary
#8D39C2 #B3C239 #39C248
monochromatic
#481D63 #6B2B93 #8D39C2 #A866D2 #C395E0

Accessibility & contrast

On white

6.01
#8D39C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8D39C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D39C2
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D39C2#FFFFFF#000000##FFFFFF
##8D39C21.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#1A64BF
Tritanopia (blue-blind)
#85587A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d39c2;
/* rgb */ color: rgb(141, 57, 194);
/* oklch */ color: oklch(52.5% 0.206 309.0);
Tailwind
colors: {
  custom: {
    50: '#b376d5',
    500: '#8d39c2',
    950: '#000000',
  },
}
SCSS
$custom: #8d39c2;
$custom-light: #b376d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d39c2",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 276.788,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52546,
    "c": 0.20644,
    "h": 309
  },
  "luminance": 0.12484
}

Semantic roles & 50–950 ramp

primary
#8D39C2
secondary
#A4CB8B
accent
#DE4A83
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8D39C2

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

Preview Lab → · Contrast checker → · Palette generator →

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