#8A39B5#8A39B5

#8A39B5 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.3% C 0.193 H 311.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8A39B5
RGBrgb(138, 57, 181)
HSLhsl(279, 52%, 47%)
HSVhsv(279, 69%, 71%)
CMYKcmyk(23.8%, 68.5%, 0%, 29%)
CIE-LABlab(40.68, 54.48, -51.13)
CIE-LCHlch(40.68, 74.71, 316.82°)
OKLaboklab(51.25% 0.1275 -0.1444)
OKLCHoklch(51.25% 0.193 311.4)
XYZxyz(20.2833, 11.6662, 44.8904)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A39B5 #64B539
analogous
#4C39B5 #8A39B5 #B539A2
triadic
#8A39B5 #B58A39 #39B58A
tetradic
#8A39B5 #B54C39 #64B539 #39A2B5
square
#8A39B5 #B54C39 #64B539 #39A2B5
split-complementary
#8A39B5 #A2B539 #39B54C
monochromatic
#431C58 #672A86 #8A39B5 #A65FCD #C08DDB

Accessibility & contrast

On white

6.30
#8A39B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A39B5
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A39B5#FFFFFF#000000##FFFFFF
##8A39B51.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#2A61B2
Tritanopia (blue-blind)
#855373
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a39b5;
/* rgb */ color: rgb(138, 57, 181);
/* oklch */ color: oklch(51.3% 0.193 311.4);
Tailwind
colors: {
  custom: {
    50: '#b076cc',
    500: '#8a39b5',
    950: '#000000',
  },
}
SCSS
$custom: #8a39b5;
$custom-light: #b076cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a39b5",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 279.194,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51254,
    "c": 0.19258,
    "h": 311.4
  },
  "luminance": 0.11666
}

Semantic roles & 50–950 ramp

primary
#8A39B5
secondary
#9BC684
accent
#DC4C7E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8A39B5

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

Preview Lab → · Contrast checker → · Palette generator →

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