#8A39C2#8A39C2

#8A39C2 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.2% C 0.206 H 307.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8A39C2
RGBrgb(138, 57, 194)
HSLhsl(275, 55%, 49%)
HSVhsv(275, 71%, 76%)
CMYKcmyk(28.9%, 70.6%, 0%, 23.9%)
CIE-LABlab(41.57, 57.35, -57.32)
CIE-LCHlch(41.57, 81.08, 315.02°)
OKLaboklab(52.17% 0.1259 -0.1625)
OKLCHoklch(52.17% 0.206 307.8)
XYZxyz(21.6799, 12.2249, 52.2460)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A39C2 #71C239
analogous
#4539C2 #8A39C2 #C239B6
triadic
#8A39C2 #C28A39 #39C28A
tetradic
#8A39C2 #C24539 #71C239 #39B6C2
square
#8A39C2 #C24539 #71C239 #39B6C2
split-complementary
#8A39C2 #B6C239 #39C245
monochromatic
#471D63 #682B93 #8A39C2 #A666D2 #C295E0

Accessibility & contrast

On white

6.10
#8A39C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A39C2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A39C2#FFFFFF#000000##FFFFFF
##8A39C21.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#1163BF
Tritanopia (blue-blind)
#81587A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a39c2;
/* rgb */ color: rgb(138, 57, 194);
/* oklch */ color: oklch(52.2% 0.206 307.8);
Tailwind
colors: {
  custom: {
    50: '#b176d5',
    500: '#8a39c2',
    950: '#000000',
  },
}
SCSS
$custom: #8a39c2;
$custom-light: #b176d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a39c2",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 275.474,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52172,
    "c": 0.2056,
    "h": 307.8
  },
  "luminance": 0.12225
}

Semantic roles & 50–950 ramp

primary
#8A39C2
secondary
#A6CB8B
accent
#DE4A86
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A39C2

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

Preview Lab → · Contrast checker → · Palette generator →

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