#8A39B4#8A39B4

#8A39B4 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.2% C 0.192 H 311.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8A39B4
RGBrgb(138, 57, 180)
HSLhsl(280, 52%, 46%)
HSVhsv(280, 68%, 71%)
CMYKcmyk(23.3%, 68.3%, 0%, 29.4%)
CIE-LABlab(40.61, 54.26, -50.65)
CIE-LCHlch(40.61, 74.23, 316.97°)
OKLaboklab(51.19% 0.1275 -0.1429)
OKLCHoklch(51.19% 0.192 311.7)
XYZxyz(20.1811, 11.6253, 44.3520)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A39B4 #63B439
analogous
#4D39B4 #8A39B4 #B439A1
triadic
#8A39B4 #B48A39 #39B48A
tetradic
#8A39B4 #B44D39 #63B439 #39A1B4
square
#8A39B4 #B44D39 #63B439 #39A1B4
split-complementary
#8A39B4 #A1B439 #39B44D
monochromatic
#431C57 #662A86 #8A39B4 #A75ECC #C08DDB

Accessibility & contrast

On white

6.32
#8A39B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8A39B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A39B4
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A39B4#FFFFFF#000000##FFFFFF
##8A39B41.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#2B61B1
Tritanopia (blue-blind)
#855372
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a39b4;
/* rgb */ color: rgb(138, 57, 180);
/* oklch */ color: oklch(51.2% 0.192 311.7);
Tailwind
colors: {
  custom: {
    50: '#b076cb',
    500: '#8a39b4',
    950: '#000000',
  },
}
SCSS
$custom: #8a39b4;
$custom-light: #b076cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a39b4",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 279.512,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51185,
    "c": 0.19158,
    "h": 311.7
  },
  "luminance": 0.11625
}

Semantic roles & 50–950 ramp

primary
#8A39B4
secondary
#9AC583
accent
#DB4C7D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8A39B4

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

Preview Lab → · Contrast checker → · Palette generator →

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