#7A39BA#7A39BA

#7A39BA is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.6% C 0.193 H 303.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7A39BA
RGBrgb(122, 57, 186)
HSLhsl(270, 53%, 48%)
HSVhsv(270, 69%, 73%)
CMYKcmyk(34.4%, 69.4%, 0%, 27.1%)
CIE-LABlab(38.91, 52.28, -57.03)
CIE-LCHlch(38.91, 77.37, 312.51°)
OKLaboklab(49.65% 0.1053 -0.1622)
OKLCHoklch(49.65% 0.193 303)
XYZxyz(18.3500, 10.6090, 47.5259)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A39BA #79BA39
analogous
#3A39BA #7A39BA #BA39B9
triadic
#7A39BA #BA7A39 #39BA7A
tetradic
#7A39BA #BA3A39 #79BA39 #39B9BA
square
#7A39BA #BA3A39 #79BA39 #39B9BA
split-complementary
#7A39BA #B9BA39 #39BA3A
monochromatic
#3D1C5C #5B2B8B #7A39BA #9961CF #B790DD

Accessibility & contrast

On white

6.73
#7A39BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7A39BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A39BA
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A39BA#FFFFFF#000000##FFFFFF
##7A39BA1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#6D5775
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a39ba;
/* rgb */ color: rgb(122, 57, 186);
/* oklch */ color: oklch(49.6% 0.193 303.0);
Tailwind
colors: {
  custom: {
    50: '#a674d0',
    500: '#7a39ba',
    950: '#000000',
  },
}
SCSS
$custom: #7a39ba;
$custom-light: #a674d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a39ba",
  "rgb": {
    "r": 122,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 270.233,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49649,
    "c": 0.19344,
    "h": 303
  },
  "luminance": 0.10609
}

Semantic roles & 50–950 ramp

primary
#7A39BA
secondary
#A7C887
accent
#DC4B93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7A39BA

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

Preview Lab → · Contrast checker → · Palette generator →

#7A39BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva