#7A39B7#7A39B7

#7A39B7 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.4% C 0.190 H 303.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#7A39B7
RGBrgb(122, 57, 183)
HSLhsl(271, 53%, 47%)
HSVhsv(271, 69%, 72%)
CMYKcmyk(33.3%, 68.9%, 0%, 28.2%)
CIE-LABlab(38.70, 51.56, -55.62)
CIE-LCHlch(38.70, 75.84, 312.83°)
OKLaboklab(49.42% 0.1058 -0.1581)
OKLCHoklch(49.42% 0.19 303.8)
XYZxyz(18.0345, 10.4828, 45.8638)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A39B7 #76B739
analogous
#3B39B7 #7A39B7 #B739B5
triadic
#7A39B7 #B77A39 #39B77A
tetradic
#7A39B7 #B73B39 #76B739 #39B5B7
square
#7A39B7 #B73B39 #76B739 #39B5B7
split-complementary
#7A39B7 #B5B739 #39B73B
monochromatic
#3C1C5A #5B2A88 #7A39B7 #9860CD #B68EDC

Accessibility & contrast

On white

6.78
#7A39B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7A39B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A39B7
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A39B7#FFFFFF#000000##FFFFFF
##7A39B71.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#005BB4
Tritanopia (blue-blind)
#6E5674
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a39b7;
/* rgb */ color: rgb(122, 57, 183);
/* oklch */ color: oklch(49.4% 0.190 303.8);
Tailwind
colors: {
  custom: {
    50: '#a574cd',
    500: '#7a39b7',
    950: '#000000',
  },
}
SCSS
$custom: #7a39b7;
$custom-light: #a574cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a39b7",
  "rgb": {
    "r": 122,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 270.952,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49424,
    "c": 0.19021,
    "h": 303.8
  },
  "luminance": 0.10483
}

Semantic roles & 50–950 ramp

primary
#7A39B7
secondary
#A5C785
accent
#DC4C92
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7A39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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