#8C39D3#8C39D3

#8C39D3 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.7% C 0.223 H 304.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8C39D3
RGBrgb(140, 57, 211)
HSLhsl(272, 64%, 53%)
HSVhsv(272, 73%, 83%)
CMYKcmyk(33.6%, 73%, 0%, 17.3%)
CIE-LABlab(43.07, 61.56, -64.72)
CIE-LCHlch(43.07, 89.32, 313.57°)
OKLaboklab(53.68% 0.1258 -0.1842)
OKLCHoklch(53.68% 0.223 304.3)
XYZxyz(24.0335, 13.2049, 62.8981)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C39D3 #80D339
analogous
#3F39D3 #8C39D3 #D339CD
triadic
#8C39D3 #D38C39 #39D38C
tetradic
#8C39D3 #D33F39 #80D339 #39CDD3
square
#8C39D3 #D33F39 #80D339 #39CDD3
split-complementary
#8C39D3 #CDD339 #39D33F
monochromatic
#4C1A77 #6D26A9 #8C39D3 #A96BDE #C69DE9

Accessibility & contrast

On white

5.77
#8C39D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8C39D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C39D3
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C39D3#FFFFFF#000000##FFFFFF
##8C39D31.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D7
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#7E5F83
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8c39d3;
/* rgb */ color: rgb(140, 57, 211);
/* oklch */ color: oklch(53.7% 0.223 304.3);
Tailwind
colors: {
  custom: {
    50: '#b377e1',
    500: '#8c39d3',
    950: '#000000',
  },
}
SCSS
$custom: #8c39d3;
$custom-light: #b377e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8c39d3",
  "rgb": {
    "r": 140,
    "g": 57,
    "b": 211
  },
  "hsl": {
    "h": 272.338,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5368,
    "c": 0.22306,
    "h": 304.3
  },
  "luminance": 0.13205
}

Semantic roles & 50–950 ramp

primary
#8C39D3
secondary
#B1D592
accent
#E7418D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8C39D3

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

Preview Lab → · Contrast checker → · Palette generator →

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