#7A3EB4#7A3EB4

#7A3EB4 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.8% C 0.180 H 303.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7A3EB4
RGBrgb(122, 62, 180)
HSLhsl(271, 49%, 47%)
HSVhsv(271, 66%, 71%)
CMYKcmyk(32.2%, 65.6%, 0%, 29.4%)
CIE-LABlab(39.37, 48.37, -52.75)
CIE-LCHlch(39.37, 71.57, 312.52°)
OKLaboklab(49.84% 0.1006 -0.1497)
OKLCHoklch(49.84% 0.18 303.9)
XYZxyz(17.9850, 10.8782, 44.3234)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3EB4 #78B43E
analogous
#3F3EB4 #7A3EB4 #B43EB3
triadic
#7A3EB4 #B47A3E #3EB47A
tetradic
#7A3EB4 #B43F3E #78B43E #3EB3B4
square
#7A3EB4 #B43F3E #78B43E #3EB3B4
split-complementary
#7A3EB4 #B3B43E #3EB43F
monochromatic
#3C1F59 #5B2E86 #7A3EB4 #9865CA #B793DA

Accessibility & contrast

On white

6.61
#7A3EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7A3EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3EB4
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3EB4#FFFFFF#000000##FFFFFF
##7A3EB41.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#185DB1
Tritanopia (blue-blind)
#6F5873
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7a3eb4;
/* rgb */ color: rgb(122, 62, 180);
/* oklch */ color: oklch(49.8% 0.180 303.9);
Tailwind
colors: {
  custom: {
    50: '#a577cb',
    500: '#7a3eb4',
    950: '#000000',
  },
}
SCSS
$custom: #7a3eb4;
$custom-light: #a577cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3eb4",
  "rgb": {
    "r": 122,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 270.508,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49844,
    "c": 0.18033,
    "h": 303.9
  },
  "luminance": 0.10878
}

Semantic roles & 50–950 ramp

primary
#7A3EB4
secondary
#A6C589
accent
#D84F93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7A3EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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