#8A39D1#8A39D1

#8A39D1 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.3% C 0.221 H 304.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8A39D1
RGBrgb(138, 57, 209)
HSLhsl(272, 62%, 52%)
HSVhsv(272, 73%, 82%)
CMYKcmyk(34%, 72.7%, 0%, 18%)
CIE-LABlab(42.66, 60.74, -64.24)
CIE-LCHlch(42.66, 88.42, 313.40°)
OKLaboklab(53.29% 0.1234 -0.1829)
OKLCHoklch(53.29% 0.221 304)
XYZxyz(23.4503, 12.9330, 61.5701)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A39D1 #80D139
analogous
#3E39D1 #8A39D1 #D139CC
triadic
#8A39D1 #D18A39 #39D18A
tetradic
#8A39D1 #D13E39 #80D139 #39CCD1
square
#8A39D1 #D13E39 #80D139 #39CCD1
split-complementary
#8A39D1 #CCD139 #39D13E
monochromatic
#4B1B75 #6B27A6 #8A39D1 #A76BDD #C59CE8

Accessibility & contrast

On white

5.86
#8A39D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8A39D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A39D1
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A39D1#FFFFFF#000000##FFFFFF
##8A39D11.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D5
Deuteranopia (green-blind)
#0065CE
Tritanopia (blue-blind)
#7C5E82
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a39d1;
/* rgb */ color: rgb(138, 57, 209);
/* oklch */ color: oklch(53.3% 0.221 304.0);
Tailwind
colors: {
  custom: {
    50: '#b277e0',
    500: '#8a39d1',
    950: '#000000',
  },
}
SCSS
$custom: #8a39d1;
$custom-light: #b277e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a39d1",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 209
  },
  "hsl": {
    "h": 271.974,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53289,
    "c": 0.22065,
    "h": 304
  },
  "luminance": 0.12933
}

Semantic roles & 50–950 ramp

primary
#8A39D1
secondary
#B1D492
accent
#E5428F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8A39D1

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

Preview Lab → · Contrast checker → · Palette generator →

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