#7A3EB7#7A3EB7

#7A3EB7 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.1% C 0.184 H 303.1°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#7A3EB7
RGBrgb(122, 62, 183)
HSLhsl(270, 49%, 48%)
HSVhsv(270, 66%, 72%)
CMYKcmyk(33.3%, 66.1%, 0%, 28.2%)
CIE-LABlab(39.58, 49.10, -54.18)
CIE-LCHlch(39.58, 73.12, 312.18°)
OKLaboklab(50.06% 0.1003 -0.1539)
OKLCHoklch(50.06% 0.184 303.1)
XYZxyz(18.2939, 11.0017, 45.9503)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3EB7 #7BB73E
analogous
#3E3EB7 #7A3EB7 #B63EB7
triadic
#7A3EB7 #B77A3E #3EB77A
tetradic
#7A3EB7 #B73E3E #7BB73E #3EB7B6
square
#7A3EB7 #B73E3E #7BB73E #3EB7B6
split-complementary
#7A3EB7 #B7B63E #3EB73E
monochromatic
#3D1F5C #5C2F89 #7A3EB7 #9967CB #B794DB

Accessibility & contrast

On white

6.56
#7A3EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7A3EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3EB7
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3EB7#FFFFFF#000000##FFFFFF
##7A3EB71.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#105DB4
Tritanopia (blue-blind)
#6E5975
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7a3eb7;
/* rgb */ color: rgb(122, 62, 183);
/* oklch */ color: oklch(50.1% 0.184 303.1);
Tailwind
colors: {
  custom: {
    50: '#a577cd',
    500: '#7a3eb7',
    950: '#000000',
  },
}
SCSS
$custom: #7a3eb7;
$custom-light: #a577cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3eb7",
  "rgb": {
    "r": 122,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 269.752,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5006,
    "c": 0.18368,
    "h": 303.1
  },
  "luminance": 0.11002
}

Semantic roles & 50–950 ramp

primary
#7A3EB7
secondary
#A9C68A
accent
#D94F94
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7A3EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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