#8A39B9#8A39B9

#8A39B9 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.5% C 0.197 H 310.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8A39B9
RGBrgb(138, 57, 185)
HSLhsl(278, 53%, 47%)
HSVhsv(278, 69%, 73%)
CMYKcmyk(25.4%, 69.2%, 0%, 27.5%)
CIE-LABlab(40.95, 55.35, -53.05)
CIE-LCHlch(40.95, 76.67, 316.22°)
OKLaboklab(51.53% 0.1271 -0.15)
OKLCHoklch(51.53% 0.197 310.3)
XYZxyz(20.6996, 11.8328, 47.0830)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A39B9 #68B939
analogous
#4A39B9 #8A39B9 #B939A8
triadic
#8A39B9 #B98A39 #39B98A
tetradic
#8A39B9 #B94A39 #68B939 #39A8B9
square
#8A39B9 #B94A39 #68B939 #39A8B9
split-complementary
#8A39B9 #A8B939 #39B94A
monochromatic
#441C5B #672B8A #8A39B9 #A661CE #C090DD

Accessibility & contrast

On white

6.24
#8A39B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8A39B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A39B9
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A39B9#FFFFFF#000000##FFFFFF
##8A39B91.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#2462B6
Tritanopia (blue-blind)
#845575
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a39b9;
/* rgb */ color: rgb(138, 57, 185);
/* oklch */ color: oklch(51.5% 0.197 310.3);
Tailwind
colors: {
  custom: {
    50: '#b076cf',
    500: '#8a39b9',
    950: '#000000',
  },
}
SCSS
$custom: #8a39b9;
$custom-light: #b076cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a39b9",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 277.969,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51531,
    "c": 0.19658,
    "h": 310.3
  },
  "luminance": 0.11832
}

Semantic roles & 50–950 ramp

primary
#8A39B9
secondary
#9EC886
accent
#DC4B81
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8A39B9

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

Preview Lab → · Contrast checker → · Palette generator →

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