#8D39C7#8D39C7

#8D39C7 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.9% C 0.211 H 307.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8D39C7
RGBrgb(141, 57, 199)
HSLhsl(275, 56%, 50%)
HSVhsv(275, 71%, 78%)
CMYKcmyk(29.1%, 71.4%, 0%, 22%)
CIE-LABlab(42.33, 59.05, -58.98)
CIE-LCHlch(42.33, 83.47, 315.03°)
OKLaboklab(52.91% 0.1292 -0.1673)
OKLCHoklch(52.91% 0.211 307.7)
XYZxyz(22.7543, 12.7128, 55.2769)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D39C7 #73C739
analogous
#4639C7 #8D39C7 #C739BA
triadic
#8D39C7 #C78D39 #39C78D
tetradic
#8D39C7 #C74639 #73C739 #39BAC7
square
#8D39C7 #C74639 #73C739 #39BAC7
split-complementary
#8D39C7 #BAC739 #39C746
monochromatic
#4A1D68 #6B2B98 #8D39C7 #A869D4 #C498E2

Accessibility & contrast

On white

5.93
#8D39C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8D39C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D39C7
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D39C7#FFFFFF#000000##FFFFFF
##8D39C71.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#0965C4
Tritanopia (blue-blind)
#845A7C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d39c7;
/* rgb */ color: rgb(141, 57, 199);
/* oklch */ color: oklch(52.9% 0.211 307.7);
Tailwind
colors: {
  custom: {
    50: '#b377d9',
    500: '#8d39c7',
    950: '#000000',
  },
}
SCSS
$custom: #8d39c7;
$custom-light: #b377d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d39c7",
  "rgb": {
    "r": 141,
    "g": 57,
    "b": 199
  },
  "hsl": {
    "h": 275.493,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52907,
    "c": 0.21139,
    "h": 307.7
  },
  "luminance": 0.12712
}

Semantic roles & 50–950 ramp

primary
#8D39C7
secondary
#A8CE8E
accent
#DF4986
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D39C7

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

Preview Lab → · Contrast checker → · Palette generator →

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