#7A3EAC#7A3EAC

#7A3EAC is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.3% C 0.171 H 306.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7A3EAC
RGBrgb(122, 62, 172)
HSLhsl(273, 47%, 46%)
HSVhsv(273, 64%, 67%)
CMYKcmyk(29.1%, 64%, 0%, 32.5%)
CIE-LABlab(38.83, 46.43, -48.89)
CIE-LCHlch(38.83, 67.42, 313.53°)
OKLaboklab(49.28% 0.1011 -0.1383)
OKLCHoklch(49.28% 0.171 306.2)
XYZxyz(17.1935, 10.5615, 40.1545)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3EAC #70AC3E
analogous
#433EAC #7A3EAC #AC3EA7
triadic
#7A3EAC #AC7A3E #3EAC7A
tetradic
#7A3EAC #AC433E #70AC3E #3EA7AC
square
#7A3EAC #AC433E #70AC3E #3EA7AC
split-complementary
#7A3EAC #A7AC3E #3EAC43
monochromatic
#3A1E52 #5A2E7F #7A3EAC #9861C6 #B58ED6

Accessibility & contrast

On white

6.75
#7A3EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A3EAC
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3EAC#FFFFFF#000000##FFFFFF
##7A3EAC1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#255CAA
Tritanopia (blue-blind)
#72556F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7a3eac;
/* rgb */ color: rgb(122, 62, 172);
/* oklch */ color: oklch(49.3% 0.171 306.2);
Tailwind
colors: {
  custom: {
    50: '#a477c5',
    500: '#7a3eac',
    950: '#000000',
  },
}
SCSS
$custom: #7a3eac;
$custom-light: #a477c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3eac",
  "rgb": {
    "r": 122,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 272.727,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4928,
    "c": 0.17137,
    "h": 306.2
  },
  "luminance": 0.10561
}

Semantic roles & 50–950 ramp

primary
#7A3EAC
secondary
#A0C185
accent
#D7518E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7A3EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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