#7A39B8#7A39B8

#7A39B8 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.5% C 0.191 H 303.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7A39B8
RGBrgb(122, 57, 184)
HSLhsl(271, 53%, 47%)
HSVhsv(271, 69%, 72%)
CMYKcmyk(33.7%, 69%, 0%, 27.8%)
CIE-LABlab(38.77, 51.80, -56.09)
CIE-LCHlch(38.77, 76.35, 312.72°)
OKLaboklab(49.5% 0.1056 -0.1595)
OKLCHoklch(49.5% 0.191 303.5)
XYZxyz(18.1389, 10.5245, 46.4139)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A39B8 #77B839
analogous
#3B39B8 #7A39B8 #B839B6
triadic
#7A39B8 #B87A39 #39B87A
tetradic
#7A39B8 #B83B39 #77B839 #39B6B8
square
#7A39B8 #B83B39 #77B839 #39B6B8
split-complementary
#7A39B8 #B6B839 #39B83B
monochromatic
#3C1C5B #5B2B89 #7A39B8 #9860CE #B78FDC

Accessibility & contrast

On white

6.76
#7A39B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7A39B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A39B8
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A39B8#FFFFFF#000000##FFFFFF
##7A39B81.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a39b8;
/* rgb */ color: rgb(122, 57, 184);
/* oklch */ color: oklch(49.5% 0.191 303.5);
Tailwind
colors: {
  custom: {
    50: '#a574ce',
    500: '#7a39b8',
    950: '#000000',
  },
}
SCSS
$custom: #7a39b8;
$custom-light: #a574ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7a39b8",
  "rgb": {
    "r": 122,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 270.709,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49499,
    "c": 0.19129,
    "h": 303.5
  },
  "luminance": 0.10525
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A39B8

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

Preview Lab → · Contrast checker → · Palette generator →

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