#8A39D3#8A39D3

#8A39D3 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.4% C 0.223 H 303.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8A39D3
RGBrgb(138, 57, 211)
HSLhsl(272, 64%, 53%)
HSVhsv(272, 73%, 83%)
CMYKcmyk(34.6%, 73%, 0%, 17.3%)
CIE-LABlab(42.81, 61.20, -65.15)
CIE-LCHlch(42.81, 89.39, 313.21°)
OKLaboklab(53.44% 0.123 -0.1856)
OKLCHoklch(53.44% 0.223 303.5)
XYZxyz(23.6995, 13.0327, 62.8824)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A39D3 #82D339
analogous
#3D39D3 #8A39D3 #D339CF
triadic
#8A39D3 #D38A39 #39D38A
tetradic
#8A39D3 #D33D39 #82D339 #39CFD3
square
#8A39D3 #D33D39 #82D339 #39CFD3
split-complementary
#8A39D3 #CFD339 #39D33D
monochromatic
#4B1A77 #6B26A9 #8A39D3 #A86BDE #C59DE9

Accessibility & contrast

On white

5.82
#8A39D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8A39D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A39D3
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A39D3#FFFFFF#000000##FFFFFF
##8A39D31.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#7B5F83
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a39d3;
/* rgb */ color: rgb(138, 57, 211);
/* oklch */ color: oklch(53.4% 0.223 303.5);
Tailwind
colors: {
  custom: {
    50: '#b277e1',
    500: '#8a39d3',
    950: '#000000',
  },
}
SCSS
$custom: #8a39d3;
$custom-light: #b277e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a39d3",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 211
  },
  "hsl": {
    "h": 271.558,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53443,
    "c": 0.22264,
    "h": 303.5
  },
  "luminance": 0.13033
}

Semantic roles & 50–950 ramp

primary
#8A39D3
secondary
#B2D592
accent
#E74190
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8A39D3

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

Preview Lab → · Contrast checker → · Palette generator →

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