#8A39CF#8A39CF

#8A39CF is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.1% C 0.219 H 304.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8A39CF
RGBrgb(138, 57, 207)
HSLhsl(272, 61%, 52%)
HSVhsv(272, 72%, 81%)
CMYKcmyk(33.3%, 72.5%, 0%, 18.8%)
CIE-LABlab(42.51, 60.29, -63.33)
CIE-LCHlch(42.51, 87.44, 313.59°)
OKLaboklab(53.14% 0.1238 -0.1802)
OKLCHoklch(53.14% 0.219 304.5)
XYZxyz(23.2043, 12.8346, 60.2743)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A39CF #7ECF39
analogous
#3F39CF #8A39CF #CF39C9
triadic
#8A39CF #CF8A39 #39CF8A
tetradic
#8A39CF #CF3F39 #7ECF39 #39C9CF
square
#8A39CF #CF3F39 #7ECF39 #39C9CF
split-complementary
#8A39CF #C9CF39 #39CF3F
monochromatic
#4A1C72 #6A28A3 #8A39CF #A76ADB #C49CE7

Accessibility & contrast

On white

5.89
#8A39CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8A39CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A39CF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A39CF#FFFFFF#000000##FFFFFF
##8A39CF1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#7D5D81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a39cf;
/* rgb */ color: rgb(138, 57, 207);
/* oklch */ color: oklch(53.1% 0.219 304.5);
Tailwind
colors: {
  custom: {
    50: '#b277df',
    500: '#8a39cf',
    950: '#000000',
  },
}
SCSS
$custom: #8a39cf;
$custom-light: #b277df;
$custom-dark: #000000;
JSON
{
  "hex": "#8a39cf",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 272.4,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53137,
    "c": 0.21864,
    "h": 304.5
  },
  "luminance": 0.12835
}

Semantic roles & 50–950 ramp

primary
#8A39CF
secondary
#AFD391
accent
#E4448D
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A39CF

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

Preview Lab → · Contrast checker → · Palette generator →

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