#8A39CA#8A39CA

#8A39CA is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.8% C 0.214 H 305.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8A39CA
RGBrgb(138, 57, 202)
HSLhsl(274, 58%, 51%)
HSVhsv(274, 72%, 79%)
CMYKcmyk(31.7%, 71.8%, 0%, 20.8%)
CIE-LABlab(42.15, 59.15, -61.04)
CIE-LCHlch(42.15, 85.00, 314.10°)
OKLaboklab(52.76% 0.1247 -0.1735)
OKLCHoklch(52.76% 0.214 305.7)
XYZxyz(22.6027, 12.5940, 57.1058)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A39CA #79CA39
analogous
#4139CA #8A39CA #CA39C2
triadic
#8A39CA #CA8A39 #39CA8A
tetradic
#8A39CA #CA4139 #79CA39 #39C2CA
square
#8A39CA #CA4139 #79CA39 #39C2CA
split-complementary
#8A39CA #C2CA39 #39CA41
monochromatic
#491D6C #6A2A9C #8A39CA #A769D7 #C39AE4

Accessibility & contrast

On white

5.97
#8A39CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8A39CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A39CA
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A39CA#FFFFFF#000000##FFFFFF
##8A39CA1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#7E5B7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a39ca;
/* rgb */ color: rgb(138, 57, 202);
/* oklch */ color: oklch(52.8% 0.214 305.7);
Tailwind
colors: {
  custom: {
    50: '#b176db',
    500: '#8a39ca',
    950: '#000000',
  },
}
SCSS
$custom: #8a39ca;
$custom-light: #b176db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a39ca",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 273.517,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52761,
    "c": 0.21363,
    "h": 305.7
  },
  "luminance": 0.12594
}

Semantic roles & 50–950 ramp

primary
#8A39CA
secondary
#ACD08F
accent
#E1478B
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A39CA

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

Preview Lab → · Contrast checker → · Palette generator →

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