#8A39BD#8A39BD

#8A39BD is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.8% C 0.201 H 309.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8A39BD
RGBrgb(138, 57, 189)
HSLhsl(277, 54%, 48%)
HSVhsv(277, 70%, 74%)
CMYKcmyk(27%, 69.8%, 0%, 25.9%)
CIE-LABlab(41.22, 56.23, -54.96)
CIE-LCHlch(41.22, 78.63, 315.66°)
OKLaboklab(51.81% 0.1266 -0.1556)
OKLCHoklch(51.81% 0.201 309.1)
XYZxyz(21.1278, 12.0040, 49.3383)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A39BD #6CBD39
analogous
#4839BD #8A39BD #BD39AE
triadic
#8A39BD #BD8A39 #39BD8A
tetradic
#8A39BD #BD4839 #6CBD39 #39AEBD
square
#8A39BD #BD4839 #6CBD39 #39AEBD
split-complementary
#8A39BD #AEBD39 #39BD48
monochromatic
#451D5F #682B8E #8A39BD #A663D0 #C192DE

Accessibility & contrast

On white

6.18
#8A39BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8A39BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A39BD
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A39BD#FFFFFF#000000##FFFFFF
##8A39BD1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#1D62BA
Tritanopia (blue-blind)
#825677
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a39bd;
/* rgb */ color: rgb(138, 57, 189);
/* oklch */ color: oklch(51.8% 0.201 309.1);
Tailwind
colors: {
  custom: {
    50: '#b176d2',
    500: '#8a39bd',
    950: '#000000',
  },
}
SCSS
$custom: #8a39bd;
$custom-light: #b176d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a39bd",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 276.818,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51813,
    "c": 0.20059,
    "h": 309.1
  },
  "luminance": 0.12004
}

Semantic roles & 50–950 ramp

primary
#8A39BD
secondary
#A2C989
accent
#DD4B83
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A39BD

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

Preview Lab → · Contrast checker → · Palette generator →

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