#8C39BA#8C39BA

#8C39BA is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.9% C 0.198 H 310.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8C39BA
RGBrgb(140, 57, 186)
HSLhsl(279, 53%, 48%)
HSVhsv(279, 69%, 73%)
CMYKcmyk(24.7%, 69.4%, 0%, 27.1%)
CIE-LABlab(41.29, 55.99, -53.07)
CIE-LCHlch(41.29, 77.15, 316.53°)
OKLaboklab(51.86% 0.1296 -0.15)
OKLCHoklch(51.86% 0.198 310.8)
XYZxyz(21.1396, 12.0474, 47.6566)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C39BA #67BA39
analogous
#4C39BA #8C39BA #BA39A7
triadic
#8C39BA #BA8C39 #39BA8C
tetradic
#8C39BA #BA4C39 #67BA39 #39A7BA
square
#8C39BA #BA4C39 #67BA39 #39A7BA
split-complementary
#8C39BA #A7BA39 #39BA4C
monochromatic
#451C5C #692B8B #8C39BA #A861CF #C290DD

Accessibility & contrast

On white

6.16
#8C39BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8C39BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C39BA
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C39BA#FFFFFF#000000##FFFFFF
##8C39BA1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#2663B7
Tritanopia (blue-blind)
#865575
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8c39ba;
/* rgb */ color: rgb(140, 57, 186);
/* oklch */ color: oklch(51.9% 0.198 310.8);
Tailwind
colors: {
  custom: {
    50: '#b276cf',
    500: '#8c39ba',
    950: '#000000',
  },
}
SCSS
$custom: #8c39ba;
$custom-light: #b276cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8c39ba",
  "rgb": {
    "r": 140,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 278.605,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51855,
    "c": 0.19821,
    "h": 310.8
  },
  "luminance": 0.12047
}

Semantic roles & 50–950 ramp

primary
#8C39BA
secondary
#9EC887
accent
#DC4B7F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8C39BA

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

Preview Lab → · Contrast checker → · Palette generator →

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