#8A39C0#8A39C0

#8A39C0 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.204 H 308.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8A39C0
RGBrgb(138, 57, 192)
HSLhsl(276, 54%, 49%)
HSVhsv(276, 70%, 75%)
CMYKcmyk(28.1%, 70.3%, 0%, 24.7%)
CIE-LABlab(41.43, 56.90, -56.38)
CIE-LCHlch(41.43, 80.10, 315.27°)
OKLaboklab(52.03% 0.1262 -0.1598)
OKLCHoklch(52.03% 0.204 308.3)
XYZxyz(21.4568, 12.1356, 51.0710)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A39C0 #6FC039
analogous
#4739C0 #8A39C0 #C039B3
triadic
#8A39C0 #C08A39 #39C08A
tetradic
#8A39C0 #C04739 #6FC039 #39B3C0
square
#8A39C0 #C04739 #6FC039 #39B3C0
split-complementary
#8A39C0 #B3C039 #39C047
monochromatic
#461D62 #682B91 #8A39C0 #A665D1 #C194DF

Accessibility & contrast

On white

6.13
#8A39C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8A39C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A39C0
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A39C0#FFFFFF#000000##FFFFFF
##8A39C01.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#1763BD
Tritanopia (blue-blind)
#825779
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a39c0;
/* rgb */ color: rgb(138, 57, 192);
/* oklch */ color: oklch(52.0% 0.204 308.3);
Tailwind
colors: {
  custom: {
    50: '#b176d4',
    500: '#8a39c0',
    950: '#000000',
  },
}
SCSS
$custom: #8a39c0;
$custom-light: #b176d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a39c0",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 192
  },
  "hsl": {
    "h": 276,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52028,
    "c": 0.2036,
    "h": 308.3
  },
  "luminance": 0.12135
}

Semantic roles & 50–950 ramp

primary
#8A39C0
secondary
#A4CB8A
accent
#DE4A85
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A39C0

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

Preview Lab → · Contrast checker → · Palette generator →

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