#8D39C9#8D39C9

#8D39C9 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.1% C 0.213 H 307.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8D39C9
RGBrgb(141, 57, 201)
HSLhsl(275, 57%, 51%)
HSVhsv(275, 72%, 79%)
CMYKcmyk(29.9%, 71.6%, 0%, 21.2%)
CIE-LABlab(42.47, 59.50, -59.91)
CIE-LCHlch(42.47, 84.44, 314.80°)
OKLaboklab(53.05% 0.1289 -0.1701)
OKLCHoklch(53.05% 0.213 307.2)
XYZxyz(22.9880, 12.8063, 56.5079)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D39C9 #75C939
analogous
#4539C9 #8D39C9 #C939BD
triadic
#8D39C9 #C98D39 #39C98D
tetradic
#8D39C9 #C94539 #75C939 #39BDC9
square
#8D39C9 #C94539 #75C939 #39BDC9
split-complementary
#8D39C9 #BDC939 #39C945
monochromatic
#4A1D6B #6C2A9B #8D39C9 #A969D6 #C499E3

Accessibility & contrast

On white

5.90
#8D39C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8D39C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D39C9
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D39C9#FFFFFF#000000##FFFFFF
##8D39C91.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#0065C6
Tritanopia (blue-blind)
#835A7E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d39c9;
/* rgb */ color: rgb(141, 57, 201);
/* oklch */ color: oklch(53.1% 0.213 307.2);
Tailwind
colors: {
  custom: {
    50: '#b377da',
    500: '#8d39c9',
    950: '#000000',
  },
}
SCSS
$custom: #8d39c9;
$custom-light: #b377da;
$custom-dark: #000000;
JSON
{
  "hex": "#8d39c9",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 201
  },
  "hsl": {
    "h": 275,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53053,
    "c": 0.21337,
    "h": 307.2
  },
  "luminance": 0.12806
}

Semantic roles & 50–950 ramp

primary
#8D39C9
secondary
#AACF8F
accent
#E04787
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D39C9

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

Preview Lab → · Contrast checker → · Palette generator →

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