#7A3EC3#7A3EC3

#7A3EC3 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 51.0% C 0.197 H 300.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7A3EC3
RGBrgb(122, 62, 195)
HSLhsl(267, 53%, 50%)
HSVhsv(267, 68%, 76%)
CMYKcmyk(37.4%, 68.2%, 0%, 23.5%)
CIE-LABlab(40.45, 52.07, -59.82)
CIE-LCHlch(40.45, 79.31, 311.04°)
OKLaboklab(50.95% 0.0988 -0.1705)
OKLCHoklch(50.95% 0.197 300.1)
XYZxyz(19.5966, 11.5228, 52.8109)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3EC3 #87C33E
analogous
#3E44C3 #7A3EC3 #BD3EC3
triadic
#7A3EC3 #C37A3E #3EC37A
tetradic
#7A3EC3 #C33E44 #87C33E #3EC3BD
square
#7A3EC3 #C33E44 #87C33E #3EC3BD
split-complementary
#7A3EC3 #C3BD3E #44C33E
monochromatic
#402067 #5D2E95 #7A3EC3 #9A6DD2 #BA9BE0

Accessibility & contrast

On white

6.35
#7A3EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7A3EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3EC3
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3EC3#FFFFFF#000000##FFFFFF
##7A3EC31.006.353.306.35
#FFFFFF6.351.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#6A5D7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7a3ec3;
/* rgb */ color: rgb(122, 62, 195);
/* oklch */ color: oklch(51.0% 0.197 300.1);
Tailwind
colors: {
  custom: {
    50: '#a678d6',
    500: '#7a3ec3',
    950: '#000000',
  },
}
SCSS
$custom: #7a3ec3;
$custom-light: #a678d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3ec3",
  "rgb": {
    "r": 122,
    "g": 62,
    "b": 195
  },
  "hsl": {
    "h": 267.068,
    "s": 52.569,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50953,
    "c": 0.19702,
    "h": 300.1
  },
  "luminance": 0.11523
}

Semantic roles & 50–950 ramp

primary
#7A3EC3
secondary
#B1CC91
accent
#DC4C9B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A3EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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