#8A39BC#8A39BC

#8A39BC is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.7% C 0.200 H 309.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8A39BC
RGBrgb(138, 57, 188)
HSLhsl(277, 53%, 48%)
HSVhsv(277, 70%, 74%)
CMYKcmyk(26.6%, 69.7%, 0%, 26.3%)
CIE-LABlab(41.15, 56.01, -54.48)
CIE-LCHlch(41.15, 78.14, 315.79°)
OKLaboklab(51.74% 0.1267 -0.1542)
OKLCHoklch(51.74% 0.2 309.4)
XYZxyz(21.0197, 11.9608, 48.7686)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A39BC #6BBC39
analogous
#4839BC #8A39BC #BC39AC
triadic
#8A39BC #BC8A39 #39BC8A
tetradic
#8A39BC #BC4839 #6BBC39 #39ACBC
square
#8A39BC #BC4839 #6BBC39 #39ACBC
split-complementary
#8A39BC #ACBC39 #39BC48
monochromatic
#451D5E #682B8D #8A39BC #A663D0 #C192DE

Accessibility & contrast

On white

6.19
#8A39BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8A39BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A39BC
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A39BC#FFFFFF#000000##FFFFFF
##8A39BC1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#1F62B9
Tritanopia (blue-blind)
#835676
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a39bc;
/* rgb */ color: rgb(138, 57, 188);
/* oklch */ color: oklch(51.7% 0.200 309.4);
Tailwind
colors: {
  custom: {
    50: '#b076d1',
    500: '#8a39bc',
    950: '#000000',
  },
}
SCSS
$custom: #8a39bc;
$custom-light: #b076d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a39bc",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 277.099,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51742,
    "c": 0.19958,
    "h": 309.4
  },
  "luminance": 0.1196
}

Semantic roles & 50–950 ramp

primary
#8A39BC
secondary
#A1C988
accent
#DD4B83
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8A39BC

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

Preview Lab → · Contrast checker → · Palette generator →

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