#7A39B3#7A39B3

#7A39B3 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.1% C 0.186 H 304.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#7A39B3
RGBrgb(122, 57, 179)
HSLhsl(272, 52%, 46%)
HSVhsv(272, 68%, 70%)
CMYKcmyk(31.8%, 68.2%, 0%, 29.8%)
CIE-LABlab(38.41, 50.60, -53.72)
CIE-LCHlch(38.41, 73.80, 313.29°)
OKLaboklab(49.13% 0.1063 -0.1525)
OKLCHoklch(49.13% 0.186 304.9)
XYZxyz(17.6240, 10.3186, 43.7023)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A39B3 #72B339
analogous
#3D39B3 #7A39B3 #B339AF
triadic
#7A39B3 #B37A39 #39B37A
tetradic
#7A39B3 #B33D39 #72B339 #39AFB3
square
#7A39B3 #B33D39 #72B339 #39AFB3
split-complementary
#7A39B3 #AFB339 #39B33D
monochromatic
#3B1B56 #5A2A85 #7A39B3 #985ECC #B68CDA

Accessibility & contrast

On white

6.85
#7A39B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7A39B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A39B3
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A39B3#FFFFFF#000000##FFFFFF
##7A39B31.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#0D5AB0
Tritanopia (blue-blind)
#705471
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7a39b3;
/* rgb */ color: rgb(122, 57, 179);
/* oklch */ color: oklch(49.1% 0.186 304.9);
Tailwind
colors: {
  custom: {
    50: '#a574ca',
    500: '#7a39b3',
    950: '#000000',
  },
}
SCSS
$custom: #7a39b3;
$custom-light: #a574ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7a39b3",
  "rgb": {
    "r": 122,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 271.967,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49128,
    "c": 0.18589,
    "h": 304.9
  },
  "luminance": 0.10319
}

Semantic roles & 50–950 ramp

primary
#7A39B3
secondary
#A2C583
accent
#DB4D8F
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7A39B3

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

Preview Lab → · Contrast checker → · Palette generator →

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