#8D39CE#8D39CE

#8D39CE is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.4% C 0.218 H 305.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8D39CE
RGBrgb(141, 57, 206)
HSLhsl(274, 60%, 52%)
HSVhsv(274, 72%, 81%)
CMYKcmyk(31.6%, 72.3%, 0%, 19.2%)
CIE-LABlab(42.83, 60.62, -62.22)
CIE-LCHlch(42.83, 86.87, 314.25°)
OKLaboklab(53.42% 0.128 -0.1768)
OKLCHoklch(53.42% 0.218 305.9)
XYZxyz(23.5858, 13.0454, 59.6560)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D39CE #7ACE39
analogous
#4339CE #8D39CE #CE39C4
triadic
#8D39CE #CE8D39 #39CE8D
tetradic
#8D39CE #CE4339 #7ACE39 #39C4CE
square
#8D39CE #CE4339 #7ACE39 #39C4CE
split-complementary
#8D39CE #C4CE39 #39CE43
monochromatic
#4C1C71 #6D28A2 #8D39CE #A96ADA #C59BE6

Accessibility & contrast

On white

5.82
#8D39CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8D39CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D39CE
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D39CE#FFFFFF#000000##FFFFFF
##8D39CE1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#815D80
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8d39ce;
/* rgb */ color: rgb(141, 57, 206);
/* oklch */ color: oklch(53.4% 0.218 305.9);
Tailwind
colors: {
  custom: {
    50: '#b477de',
    500: '#8d39ce',
    950: '#000000',
  },
}
SCSS
$custom: #8d39ce;
$custom-light: #b477de;
$custom-dark: #000000;
JSON
{
  "hex": "#8d39ce",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 273.826,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53423,
    "c": 0.21832,
    "h": 305.9
  },
  "luminance": 0.13045
}

Semantic roles & 50–950 ramp

primary
#8D39CE
secondary
#ADD291
accent
#E3448A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D39CE

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

Preview Lab → · Contrast checker → · Palette generator →

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