#8C39CC#8C39CC

#8C39CC is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.2% C 0.216 H 306.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8C39CC
RGBrgb(140, 57, 204)
HSLhsl(274, 59%, 51%)
HSVhsv(274, 72%, 80%)
CMYKcmyk(31.4%, 72.1%, 0%, 20%)
CIE-LABlab(42.55, 59.98, -61.52)
CIE-LCHlch(42.55, 85.92, 314.27°)
OKLaboklab(53.15% 0.127 -0.1748)
OKLCHoklch(53.15% 0.216 306)
XYZxyz(23.1750, 12.8615, 58.3767)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C39CC #79CC39
analogous
#4239CC #8C39CC #CC39C2
triadic
#8C39CC #CC8C39 #39CC8C
tetradic
#8C39CC #CC4239 #79CC39 #39C2CC
square
#8C39CC #CC4239 #79CC39 #39C2CC
split-complementary
#8C39CC #C2CC39 #39CC42
monochromatic
#4B1C6E #6C299F #8C39CC #A86AD9 #C59AE5

Accessibility & contrast

On white

5.88
#8C39CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8C39CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C39CC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C39CC#FFFFFF#000000##FFFFFF
##8C39CC1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#815C7F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8c39cc;
/* rgb */ color: rgb(140, 57, 204);
/* oklch */ color: oklch(53.2% 0.216 306.0);
Tailwind
colors: {
  custom: {
    50: '#b377dc',
    500: '#8c39cc',
    950: '#000000',
  },
}
SCSS
$custom: #8c39cc;
$custom-light: #b377dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8c39cc",
  "rgb": {
    "r": 140,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 273.878,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53153,
    "c": 0.2161,
    "h": 306
  },
  "luminance": 0.12861
}

Semantic roles & 50–950 ramp

primary
#8C39CC
secondary
#ACD190
accent
#E2468A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8C39CC

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

Preview Lab → · Contrast checker → · Palette generator →

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