#8A39BF#8A39BF

#8A39BF is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.203 H 308.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8A39BF
RGBrgb(138, 57, 191)
HSLhsl(276, 54%, 49%)
HSVhsv(276, 70%, 75%)
CMYKcmyk(27.7%, 70.2%, 0%, 25.1%)
CIE-LABlab(41.36, 56.68, -55.90)
CIE-LCHlch(41.36, 79.61, 315.39°)
OKLaboklab(51.96% 0.1263 -0.1584)
OKLCHoklch(51.96% 0.203 308.6)
XYZxyz(21.3464, 12.0915, 50.4895)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A39BF #6EBF39
analogous
#4739BF #8A39BF #BF39B1
triadic
#8A39BF #BF8A39 #39BF8A
tetradic
#8A39BF #BF4739 #6EBF39 #39B1BF
square
#8A39BF #BF4739 #6EBF39 #39B1BF
split-complementary
#8A39BF #B1BF39 #39BF47
monochromatic
#461D61 #682B90 #8A39BF #A664D1 #C193DF

Accessibility & contrast

On white

6.14
#8A39BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8A39BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A39BF
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A39BF#FFFFFF#000000##FFFFFF
##8A39BF1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#1962BC
Tritanopia (blue-blind)
#825778
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a39bf;
/* rgb */ color: rgb(138, 57, 191);
/* oklch */ color: oklch(52.0% 0.203 308.6);
Tailwind
colors: {
  custom: {
    50: '#b176d3',
    500: '#8a39bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a39bf;
$custom-light: #b176d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a39bf",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 276.269,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51956,
    "c": 0.20259,
    "h": 308.6
  },
  "luminance": 0.12091
}

Semantic roles & 50–950 ramp

primary
#8A39BF
secondary
#A3CA8A
accent
#DD4A85
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A39BF

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

Preview Lab → · Contrast checker → · Palette generator →

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