#8A39C3#8A39C3

#8A39C3 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.2% C 0.207 H 307.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8A39C3
RGBrgb(138, 57, 195)
HSLhsl(275, 55%, 49%)
HSVhsv(275, 71%, 76%)
CMYKcmyk(29.2%, 70.8%, 0%, 23.5%)
CIE-LABlab(41.64, 57.57, -57.78)
CIE-LCHlch(41.64, 81.57, 314.89°)
OKLaboklab(52.25% 0.1258 -0.1639)
OKLCHoklch(52.25% 0.207 307.5)
XYZxyz(21.7926, 12.2700, 52.8395)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A39C3 #72C339
analogous
#4539C3 #8A39C3 #C339B7
triadic
#8A39C3 #C38A39 #39C38A
tetradic
#8A39C3 #C34539 #72C339 #39B7C3
square
#8A39C3 #C34539 #72C339 #39B7C3
split-complementary
#8A39C3 #B7C339 #39C345
monochromatic
#471D64 #682B94 #8A39C3 #A667D2 #C296E0

Accessibility & contrast

On white

6.08
#8A39C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8A39C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A39C3
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A39C3#FFFFFF#000000##FFFFFF
##8A39C31.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0D63C0
Tritanopia (blue-blind)
#81587A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a39c3;
/* rgb */ color: rgb(138, 57, 195);
/* oklch */ color: oklch(52.2% 0.207 307.5);
Tailwind
colors: {
  custom: {
    50: '#b176d6',
    500: '#8a39c3',
    950: '#000000',
  },
}
SCSS
$custom: #8a39c3;
$custom-light: #b176d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a39c3",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 195
  },
  "hsl": {
    "h": 275.217,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52245,
    "c": 0.20661,
    "h": 307.5
  },
  "luminance": 0.1227
}

Semantic roles & 50–950 ramp

primary
#8A39C3
secondary
#A6CC8C
accent
#DE4A87
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A39C3

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

Preview Lab → · Contrast checker → · Palette generator →

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