#8D39C8#8D39C8

#8D39C8 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.0% C 0.212 H 307.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8D39C8
RGBrgb(141, 57, 200)
HSLhsl(275, 57%, 50%)
HSVhsv(275, 72%, 78%)
CMYKcmyk(29.5%, 71.5%, 0%, 21.6%)
CIE-LABlab(42.40, 59.28, -59.45)
CIE-LCHlch(42.40, 83.95, 314.92°)
OKLaboklab(52.98% 0.129 -0.1687)
OKLCHoklch(52.98% 0.212 307.4)
XYZxyz(22.8708, 12.7594, 55.8904)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D39C8 #74C839
analogous
#4539C8 #8D39C8 #C839BB
triadic
#8D39C8 #C88D39 #39C88D
tetradic
#8D39C8 #C84539 #74C839 #39BBC8
square
#8D39C8 #C84539 #74C839 #39BBC8
split-complementary
#8D39C8 #BBC839 #39C845
monochromatic
#4A1D69 #6C2B99 #8D39C8 #A969D5 #C499E3

Accessibility & contrast

On white

5.91
#8D39C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8D39C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D39C8
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D39C8#FFFFFF#000000##FFFFFF
##8D39C81.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#0565C5
Tritanopia (blue-blind)
#835A7D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d39c8;
/* rgb */ color: rgb(141, 57, 200);
/* oklch */ color: oklch(53.0% 0.212 307.4);
Tailwind
colors: {
  custom: {
    50: '#b377da',
    500: '#8d39c8',
    950: '#000000',
  },
}
SCSS
$custom: #8d39c8;
$custom-light: #b377da;
$custom-dark: #000000;
JSON
{
  "hex": "#8d39c8",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 275.245,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5298,
    "c": 0.21239,
    "h": 307.4
  },
  "luminance": 0.12759
}

Semantic roles & 50–950 ramp

primary
#8D39C8
secondary
#A9CE8F
accent
#E04887
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D39C8

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

Preview Lab → · Contrast checker → · Palette generator →

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