#7A3EC1#7A3EC1

#7A3EC1 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.8% C 0.195 H 300.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7A3EC1
RGBrgb(122, 62, 193)
HSLhsl(267, 51%, 50%)
HSVhsv(267, 68%, 76%)
CMYKcmyk(36.8%, 67.9%, 0%, 24.3%)
CIE-LABlab(40.30, 51.58, -58.89)
CIE-LCHlch(40.30, 78.28, 311.21°)
OKLaboklab(50.8% 0.0991 -0.1677)
OKLCHoklch(50.8% 0.195 300.6)
XYZxyz(19.3720, 11.4329, 51.6279)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3EC1 #85C13E
analogous
#3E43C1 #7A3EC1 #BC3EC1
triadic
#7A3EC1 #C17A3E #3EC17A
tetradic
#7A3EC1 #C13E43 #85C13E #3EC1BC
square
#7A3EC1 #C13E43 #85C13E #3EC1BC
split-complementary
#7A3EC1 #C1BC3E #43C13E
monochromatic
#3F2064 #5D2F93 #7A3EC1 #9A6CD0 #BA9BDF

Accessibility & contrast

On white

6.39
#7A3EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7A3EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3EC1
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3EC1#FFFFFF#000000##FFFFFF
##7A3EC11.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#005EBE
Tritanopia (blue-blind)
#6A5D7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7a3ec1;
/* rgb */ color: rgb(122, 62, 193);
/* oklch */ color: oklch(50.8% 0.195 300.6);
Tailwind
colors: {
  custom: {
    50: '#a677d5',
    500: '#7a3ec1',
    950: '#000000',
  },
}
SCSS
$custom: #7a3ec1;
$custom-light: #a677d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3ec1",
  "rgb": {
    "r": 122,
    "g": 62,
    "b": 193
  },
  "hsl": {
    "h": 267.481,
    "s": 51.373,
    "l": 50
  },
  "oklch": {
    "l": 0.50801,
    "c": 0.1948,
    "h": 300.6
  },
  "luminance": 0.11433
}

Semantic roles & 50–950 ramp

primary
#7A3EC1
secondary
#B0CB90
accent
#DB4D9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7A3EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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