#8A39C5#8A39C5

#8A39C5 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.4% C 0.209 H 307.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8A39C5
RGBrgb(138, 57, 197)
HSLhsl(275, 55%, 50%)
HSVhsv(275, 71%, 77%)
CMYKcmyk(29.9%, 71.1%, 0%, 22.7%)
CIE-LABlab(41.78, 58.02, -58.72)
CIE-LCHlch(41.78, 82.55, 314.66°)
OKLaboklab(52.39% 0.1255 -0.1667)
OKLCHoklch(52.39% 0.209 307)
XYZxyz(22.0202, 12.3610, 54.0384)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A39C5 #74C539
analogous
#4439C5 #8A39C5 #C539BA
triadic
#8A39C5 #C58A39 #39C58A
tetradic
#8A39C5 #C54439 #74C539 #39BAC5
square
#8A39C5 #C54439 #74C539 #39BAC5
split-complementary
#8A39C5 #BAC539 #39C544
monochromatic
#471E66 #692B96 #8A39C5 #A668D3 #C297E1

Accessibility & contrast

On white

6.05
#8A39C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8A39C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A39C5
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A39C5#FFFFFF#000000##FFFFFF
##8A39C51.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#0463C2
Tritanopia (blue-blind)
#80597B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a39c5;
/* rgb */ color: rgb(138, 57, 197);
/* oklch */ color: oklch(52.4% 0.209 307.0);
Tailwind
colors: {
  custom: {
    50: '#b176d7',
    500: '#8a39c5',
    950: '#000000',
  },
}
SCSS
$custom: #8a39c5;
$custom-light: #b176d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a39c5",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 274.714,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52391,
    "c": 0.20861,
    "h": 307
  },
  "luminance": 0.12361
}

Semantic roles & 50–950 ramp

primary
#8A39C5
secondary
#A8CD8D
accent
#DE4988
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A39C5

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

Preview Lab → · Contrast checker → · Palette generator →

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