#7A39C3#7A39C3

#7A39C3 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.3% C 0.203 H 300.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#7A39C3
RGBrgb(122, 57, 195)
HSLhsl(268, 55%, 49%)
HSVhsv(268, 71%, 76%)
CMYKcmyk(37.4%, 70.8%, 0%, 23.5%)
CIE-LABlab(39.59, 54.47, -61.21)
CIE-LCHlch(39.59, 81.94, 311.67°)
OKLaboklab(50.34% 0.1039 -0.1745)
OKLCHoklch(50.34% 0.203 300.8)
XYZxyz(19.3371, 11.0038, 52.7244)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A39C3 #82C339
analogous
#393DC3 #7A39C3 #BF39C3
triadic
#7A39C3 #C37A39 #39C37A
tetradic
#7A39C3 #C3393D #82C339 #39C3BF
square
#7A39C3 #C3393D #82C339 #39C3BF
split-complementary
#7A39C3 #C3BF39 #3DC339
monochromatic
#3F1D64 #5C2B94 #7A39C3 #9967D2 #B996E0

Accessibility & contrast

On white

6.56
#7A39C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7A39C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A39C3
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A39C3#FFFFFF#000000##FFFFFF
##7A39C31.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#6A5A7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7a39c3;
/* rgb */ color: rgb(122, 57, 195);
/* oklch */ color: oklch(50.3% 0.203 300.8);
Tailwind
colors: {
  custom: {
    50: '#a675d6',
    500: '#7a39c3',
    950: '#000000',
  },
}
SCSS
$custom: #7a39c3;
$custom-light: #a675d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a39c3",
  "rgb": {
    "r": 122,
    "g": 57,
    "b": 195
  },
  "hsl": {
    "h": 268.261,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50339,
    "c": 0.20312,
    "h": 300.8
  },
  "luminance": 0.11004
}

Semantic roles & 50–950 ramp

primary
#7A39C3
secondary
#AECC8C
accent
#DE4A98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A39C3

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

Preview Lab → · Contrast checker → · Palette generator →

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