#8A39C9#8A39C9

#8A39C9 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.7% C 0.213 H 306.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8A39C9
RGBrgb(138, 57, 201)
HSLhsl(274, 57%, 51%)
HSVhsv(274, 72%, 79%)
CMYKcmyk(31.3%, 71.6%, 0%, 21.2%)
CIE-LABlab(42.07, 58.92, -60.58)
CIE-LCHlch(42.07, 84.51, 314.21°)
OKLaboklab(52.69% 0.1248 -0.1721)
OKLCHoklch(52.69% 0.213 306)
XYZxyz(22.4847, 12.5468, 56.4843)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A39C9 #78C939
analogous
#4239C9 #8A39C9 #C939C0
triadic
#8A39C9 #C98A39 #39C98A
tetradic
#8A39C9 #C94239 #78C939 #39C0C9
square
#8A39C9 #C94239 #78C939 #39C0C9
split-complementary
#8A39C9 #C0C939 #39C942
monochromatic
#491D6B #692A9B #8A39C9 #A669D6 #C399E3

Accessibility & contrast

On white

5.98
#8A39C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8A39C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A39C9
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A39C9#FFFFFF#000000##FFFFFF
##8A39C91.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#0064C6
Tritanopia (blue-blind)
#7F5B7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a39c9;
/* rgb */ color: rgb(138, 57, 201);
/* oklch */ color: oklch(52.7% 0.213 306.0);
Tailwind
colors: {
  custom: {
    50: '#b176da',
    500: '#8a39c9',
    950: '#000000',
  },
}
SCSS
$custom: #8a39c9;
$custom-light: #b176da;
$custom-dark: #000000;
JSON
{
  "hex": "#8a39c9",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 201
  },
  "hsl": {
    "h": 273.75,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52686,
    "c": 0.21262,
    "h": 306
  },
  "luminance": 0.12547
}

Semantic roles & 50–950 ramp

primary
#8A39C9
secondary
#ABCF8F
accent
#E0478A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A39C9

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

Preview Lab → · Contrast checker → · Palette generator →

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