#8A39B7#8A39B7

#8A39B7 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.4% C 0.195 H 310.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8A39B7
RGBrgb(138, 57, 183)
HSLhsl(279, 53%, 47%)
HSVhsv(279, 69%, 72%)
CMYKcmyk(24.6%, 68.9%, 0%, 28.2%)
CIE-LABlab(40.81, 54.92, -52.09)
CIE-LCHlch(40.81, 75.69, 316.51°)
OKLaboklab(51.39% 0.1273 -0.1472)
OKLCHoklch(51.39% 0.195 310.8)
XYZxyz(20.4900, 11.7489, 45.9789)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A39B7 #66B739
analogous
#4B39B7 #8A39B7 #B739A5
triadic
#8A39B7 #B78A39 #39B78A
tetradic
#8A39B7 #B74B39 #66B739 #39A5B7
square
#8A39B7 #B74B39 #66B739 #39A5B7
split-complementary
#8A39B7 #A5B739 #39B74B
monochromatic
#441C5A #672A88 #8A39B7 #A660CD #C08EDC

Accessibility & contrast

On white

6.27
#8A39B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8A39B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A39B7
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A39B7#FFFFFF#000000##FFFFFF
##8A39B71.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#2762B4
Tritanopia (blue-blind)
#845474
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a39b7;
/* rgb */ color: rgb(138, 57, 183);
/* oklch */ color: oklch(51.4% 0.195 310.8);
Tailwind
colors: {
  custom: {
    50: '#b076cd',
    500: '#8a39b7',
    950: '#000000',
  },
}
SCSS
$custom: #8a39b7;
$custom-light: #b076cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a39b7",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 278.571,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51392,
    "c": 0.19458,
    "h": 310.8
  },
  "luminance": 0.11748
}

Semantic roles & 50–950 ramp

primary
#8A39B7
secondary
#9DC785
accent
#DC4C7F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8A39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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