#8C39DC#8C39DC

#8C39DC is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.4% C 0.232 H 302.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8C39DC
RGBrgb(140, 57, 220)
HSLhsl(271, 70%, 54%)
HSVhsv(271, 74%, 86%)
CMYKcmyk(36.4%, 74.1%, 0%, 13.7%)
CIE-LABlab(43.75, 63.62, -68.77)
CIE-LCHlch(43.75, 93.69, 312.77°)
OKLaboklab(54.38% 0.1239 -0.1961)
OKLCHoklch(54.38% 0.232 302.3)
XYZxyz(25.1935, 13.6689, 69.0074)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C39DC #89DC39
analogous
#3B39DC #8C39DC #DC39DB
triadic
#8C39DC #DC8C39 #39DC8C
tetradic
#8C39DC #DC3B39 #89DC39 #39DBDC
square
#8C39DC #DC3B39 #89DC39 #39DBDC
split-complementary
#8C39DC #DBDC39 #39DC3B
monochromatic
#4E1783 #6D20B7 #8C39DC #AA6DE5 #C8A1EE

Accessibility & contrast

On white

5.62
#8C39DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8C39DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C39DC
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C39DC#FFFFFF#000000##FFFFFF
##8C39DC1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E1
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#7B6288
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8c39dc;
/* rgb */ color: rgb(140, 57, 220);
/* oklch */ color: oklch(54.4% 0.232 302.3);
Tailwind
colors: {
  custom: {
    50: '#b477e8',
    500: '#8c39dc',
    950: '#000000',
  },
}
SCSS
$custom: #8c39dc;
$custom-light: #b477e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8c39dc",
  "rgb": {
    "r": 140,
    "g": 57,
    "b": 220
  },
  "hsl": {
    "h": 270.552,
    "s": 69.957,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54376,
    "c": 0.232,
    "h": 302.3
  },
  "luminance": 0.13669
}

Semantic roles & 50–950 ramp

primary
#8C39DC
secondary
#B8DB96
accent
#ED3B92
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8C39DC

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

Preview Lab → · Contrast checker → · Palette generator →

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