#8A39C7#8A39C7

#8A39C7 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.5% C 0.211 H 306.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8A39C7
RGBrgb(138, 57, 199)
HSLhsl(274, 56%, 50%)
HSVhsv(274, 71%, 78%)
CMYKcmyk(30.7%, 71.4%, 0%, 22%)
CIE-LABlab(41.93, 58.47, -59.65)
CIE-LCHlch(41.93, 83.53, 314.43°)
OKLaboklab(52.54% 0.1252 -0.1694)
OKLCHoklch(52.54% 0.211 306.5)
XYZxyz(22.2509, 12.4533, 55.2533)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A39C7 #76C739
analogous
#4339C7 #8A39C7 #C739BD
triadic
#8A39C7 #C78A39 #39C78A
tetradic
#8A39C7 #C74339 #76C739 #39BDC7
square
#8A39C7 #C74339 #76C739 #39BDC7
split-complementary
#8A39C7 #BDC739 #39C743
monochromatic
#481D68 #692B98 #8A39C7 #A669D4 #C298E2

Accessibility & contrast

On white

6.02
#8A39C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8A39C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A39C7
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A39C7#FFFFFF#000000##FFFFFF
##8A39C71.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#7F5A7C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a39c7;
/* rgb */ color: rgb(138, 57, 199);
/* oklch */ color: oklch(52.5% 0.211 306.5);
Tailwind
colors: {
  custom: {
    50: '#b176d9',
    500: '#8a39c7',
    950: '#000000',
  },
}
SCSS
$custom: #8a39c7;
$custom-light: #b176d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a39c7",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 199
  },
  "hsl": {
    "h": 274.225,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52538,
    "c": 0.21062,
    "h": 306.5
  },
  "luminance": 0.12453
}

Semantic roles & 50–950 ramp

primary
#8A39C7
secondary
#A9CE8E
accent
#DF4989
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A39C7

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

Preview Lab → · Contrast checker → · Palette generator →

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