#8A39CD#8A39CD

#8A39CD is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.0% C 0.217 H 305.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8A39CD
RGBrgb(138, 57, 205)
HSLhsl(273, 60%, 51%)
HSVhsv(273, 72%, 80%)
CMYKcmyk(32.7%, 72.2%, 0%, 19.6%)
CIE-LABlab(42.36, 59.83, -62.42)
CIE-LCHlch(42.36, 86.46, 313.79°)
OKLaboklab(52.99% 0.1242 -0.1775)
OKLCHoklch(52.99% 0.217 305)
XYZxyz(22.9613, 12.7374, 58.9947)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A39CD #7CCD39
analogous
#4039CD #8A39CD #CD39C6
triadic
#8A39CD #CD8A39 #39CD8A
tetradic
#8A39CD #CD4039 #7CCD39 #39C6CD
square
#8A39CD #CD4039 #7CCD39 #39C6CD
split-complementary
#8A39CD #C6CD39 #39CD40
monochromatic
#4A1C6F #6A28A0 #8A39CD #A76AD9 #C49BE6

Accessibility & contrast

On white

5.92
#8A39CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8A39CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A39CD
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A39CD#FFFFFF#000000##FFFFFF
##8A39CD1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#7D5D80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a39cd;
/* rgb */ color: rgb(138, 57, 205);
/* oklch */ color: oklch(53.0% 0.217 305.0);
Tailwind
colors: {
  custom: {
    50: '#b277dd',
    500: '#8a39cd',
    950: '#000000',
  },
}
SCSS
$custom: #8a39cd;
$custom-light: #b277dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a39cd",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 205
  },
  "hsl": {
    "h": 272.838,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52986,
    "c": 0.21664,
    "h": 305
  },
  "luminance": 0.12737
}

Semantic roles & 50–950 ramp

primary
#8A39CD
secondary
#AED290
accent
#E3458C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A39CD

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

Preview Lab → · Contrast checker → · Palette generator →

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