#7A3ED3#7A3ED3

#7A3ED3 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.2% C 0.215 H 296.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#7A3ED3
RGBrgb(122, 62, 211)
HSLhsl(264, 63%, 54%)
HSVhsv(264, 71%, 83%)
CMYKcmyk(42.2%, 70.6%, 0%, 17.3%)
CIE-LABlab(41.67, 56.11, -67.10)
CIE-LCHlch(41.67, 87.47, 309.90°)
OKLaboklab(52.2% 0.0961 -0.1919)
OKLCHoklch(52.2% 0.215 296.6)
XYZxyz(21.5034, 12.2855, 62.8538)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3ED3 #97D33E
analogous
#3E4CD3 #7A3ED3 #C43ED3
triadic
#7A3ED3 #D37A3E #3ED37A
tetradic
#7A3ED3 #D33E4C #97D33E #3ED3C4
square
#7A3ED3 #D33E4C #97D33E #3ED3C4
split-complementary
#7A3ED3 #D3C43E #4CD33E
monochromatic
#421C7B #5D27AC #7A3ED3 #9C70DE #BFA2EA

Accessibility & contrast

On white

6.07
#7A3ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7A3ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3ED3
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3ED3#FFFFFF#000000##FFFFFF
##7A3ED31.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#0060D0
Tritanopia (blue-blind)
#636384
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7a3ed3;
/* rgb */ color: rgb(122, 62, 211);
/* oklch */ color: oklch(52.2% 0.215 296.6);
Tailwind
colors: {
  custom: {
    50: '#a878e2',
    500: '#7a3ed3',
    950: '#000000',
  },
}
SCSS
$custom: #7a3ed3;
$custom-light: #a878e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3ed3",
  "rgb": {
    "r": 122,
    "g": 62,
    "b": 211
  },
  "hsl": {
    "h": 264.161,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52203,
    "c": 0.21461,
    "h": 296.6
  },
  "luminance": 0.12286
}

Semantic roles & 50–950 ramp

primary
#7A3ED3
secondary
#BDD696
accent
#E642A4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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