#8A39C1#8A39C1

#8A39C1 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.1% C 0.205 H 308.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8A39C1
RGBrgb(138, 57, 193)
HSLhsl(276, 54%, 49%)
HSVhsv(276, 70%, 76%)
CMYKcmyk(28.5%, 70.5%, 0%, 24.3%)
CIE-LABlab(41.50, 57.12, -56.85)
CIE-LCHlch(41.50, 80.59, 315.14°)
OKLaboklab(52.1% 0.1261 -0.1612)
OKLCHoklch(52.1% 0.205 308)
XYZxyz(21.5680, 12.1801, 51.6565)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A39C1 #70C139
analogous
#4639C1 #8A39C1 #C139B4
triadic
#8A39C1 #C18A39 #39C18A
tetradic
#8A39C1 #C14639 #70C139 #39B4C1
square
#8A39C1 #C14639 #70C139 #39B4C1
split-complementary
#8A39C1 #B4C139 #39C146
monochromatic
#461D63 #682B92 #8A39C1 #A666D2 #C195E0

Accessibility & contrast

On white

6.11
#8A39C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8A39C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A39C1
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A39C1#FFFFFF#000000##FFFFFF
##8A39C11.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#1463BE
Tritanopia (blue-blind)
#815879
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a39c1;
/* rgb */ color: rgb(138, 57, 193);
/* oklch */ color: oklch(52.1% 0.205 308.0);
Tailwind
colors: {
  custom: {
    50: '#b176d5',
    500: '#8a39c1',
    950: '#000000',
  },
}
SCSS
$custom: #8a39c1;
$custom-light: #b176d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a39c1",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 193
  },
  "hsl": {
    "h": 275.735,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.521,
    "c": 0.2046,
    "h": 308
  },
  "luminance": 0.1218
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A39C1

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

Preview Lab → · Contrast checker → · Palette generator →

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