#8A39C6#8A39C6

#8A39C6 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.5% C 0.210 H 306.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8A39C6
RGBrgb(138, 57, 198)
HSLhsl(274, 55%, 50%)
HSVhsv(274, 71%, 78%)
CMYKcmyk(30.3%, 71.2%, 0%, 22.4%)
CIE-LABlab(41.86, 58.24, -59.19)
CIE-LCHlch(41.86, 83.04, 314.54°)
OKLaboklab(52.46% 0.1253 -0.168)
OKLCHoklch(52.46% 0.21 306.7)
XYZxyz(22.1352, 12.4070, 54.6438)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A39C6 #75C639
analogous
#4339C6 #8A39C6 #C639BC
triadic
#8A39C6 #C68A39 #39C68A
tetradic
#8A39C6 #C64339 #75C639 #39BCC6
square
#8A39C6 #C64339 #75C639 #39BCC6
split-complementary
#8A39C6 #BCC639 #39C643
monochromatic
#481E67 #692B96 #8A39C6 #A669D4 #C298E1

Accessibility & contrast

On white

6.03
#8A39C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8A39C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A39C6
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A39C6#FFFFFF#000000##FFFFFF
##8A39C61.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#0063C3
Tritanopia (blue-blind)
#805A7C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a39c6;
/* rgb */ color: rgb(138, 57, 198);
/* oklch */ color: oklch(52.5% 0.210 306.7);
Tailwind
colors: {
  custom: {
    50: '#b176d8',
    500: '#8a39c6',
    950: '#000000',
  },
}
SCSS
$custom: #8a39c6;
$custom-light: #b176d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a39c6",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 198
  },
  "hsl": {
    "h": 274.468,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.52464,
    "c": 0.20962,
    "h": 306.7
  },
  "luminance": 0.12407
}

Semantic roles & 50–950 ramp

primary
#8A39C6
secondary
#A9CD8E
accent
#DF4989
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8A39C6

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

Preview Lab → · Contrast checker → · Palette generator →

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