#8A39DC#8A39DC

#8A39DC is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.1% C 0.232 H 301.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8A39DC
RGBrgb(138, 57, 220)
HSLhsl(270, 70%, 54%)
HSVhsv(270, 74%, 86%)
CMYKcmyk(37.3%, 74.1%, 0%, 13.7%)
CIE-LABlab(43.50, 63.28, -69.19)
CIE-LCHlch(43.50, 93.77, 312.45°)
OKLaboklab(54.14% 0.1212 -0.1974)
OKLCHoklch(54.14% 0.232 301.5)
XYZxyz(24.8595, 13.4967, 68.9917)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A39DC #8BDC39
analogous
#393ADC #8A39DC #DC39DC
triadic
#8A39DC #DC8A39 #39DC8A
tetradic
#8A39DC #DC393A #8BDC39 #39DCDC
square
#8A39DC #DC393A #8BDC39 #39DCDC
split-complementary
#8A39DC #DCDC39 #3ADC39
monochromatic
#4D1783 #6B20B7 #8A39DC #A96DE5 #C7A1EE

Accessibility & contrast

On white

5.68
#8A39DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8A39DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A39DC
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A39DC#FFFFFF#000000##FFFFFF
##8A39DC1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a39dc;
/* rgb */ color: rgb(138, 57, 220);
/* oklch */ color: oklch(54.1% 0.232 301.5);
Tailwind
colors: {
  custom: {
    50: '#b377e8',
    500: '#8a39dc',
    950: '#000000',
  },
}
SCSS
$custom: #8a39dc;
$custom-light: #b377e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a39dc",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 220
  },
  "hsl": {
    "h": 269.816,
    "s": 69.957,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54144,
    "c": 0.23165,
    "h": 301.5
  },
  "luminance": 0.13497
}

Semantic roles & 50–950 ramp

primary
#8A39DC
secondary
#B9DB96
accent
#ED3B94
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8A39DC

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

Preview Lab → · Contrast checker → · Palette generator →

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