#8C39DA#8C39DA

#8C39DA is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.2% C 0.230 H 302.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8C39DA
RGBrgb(140, 57, 218)
HSLhsl(271, 69%, 54%)
HSVhsv(271, 74%, 85%)
CMYKcmyk(35.8%, 73.9%, 0%, 14.5%)
CIE-LABlab(43.60, 63.16, -67.88)
CIE-LCHlch(43.60, 92.72, 312.94°)
OKLaboklab(54.22% 0.1243 -0.1935)
OKLCHoklch(54.22% 0.23 302.7)
XYZxyz(24.9302, 13.5636, 67.6207)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C39DA #87DA39
analogous
#3C39DA #8C39DA #DA39D7
triadic
#8C39DA #DA8C39 #39DA8C
tetradic
#8C39DA #DA3C39 #87DA39 #39D7DA
square
#8C39DA #DA3C39 #87DA39 #39D7DA
split-complementary
#8C39DA #D7DA39 #39DA3C
monochromatic
#4E1881 #6D22B4 #8C39DA #AA6DE4 #C8A0ED

Accessibility & contrast

On white

5.66
#8C39DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8C39DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C39DA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C39DA#FFFFFF#000000##FFFFFF
##8C39DA1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DF
Deuteranopia (green-blind)
#0066D7
Tritanopia (blue-blind)
#7C6287
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8c39da;
/* rgb */ color: rgb(140, 57, 218);
/* oklch */ color: oklch(54.2% 0.230 302.7);
Tailwind
colors: {
  custom: {
    50: '#b477e6',
    500: '#8c39da',
    950: '#000000',
  },
}
SCSS
$custom: #8c39da;
$custom-light: #b477e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8c39da",
  "rgb": {
    "r": 140,
    "g": 57,
    "b": 218
  },
  "hsl": {
    "h": 270.932,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5422,
    "c": 0.23001,
    "h": 302.7
  },
  "luminance": 0.13564
}

Semantic roles & 50–950 ramp

primary
#8C39DA
secondary
#B6DA95
accent
#EB3C91
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8C39DA

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

Preview Lab → · Contrast checker → · Palette generator →

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