#7A3ED1#7A3ED1

#7A3ED1 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.0% C 0.212 H 297.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7A3ED1
RGBrgb(122, 62, 209)
HSLhsl(264, 62%, 53%)
HSVhsv(264, 70%, 82%)
CMYKcmyk(41.6%, 70.3%, 0%, 18%)
CIE-LABlab(41.51, 55.60, -66.21)
CIE-LCHlch(41.51, 86.45, 310.02°)
OKLaboklab(52.04% 0.0965 -0.1892)
OKLCHoklch(52.04% 0.212 297)
XYZxyz(21.2543, 12.1859, 61.5415)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3ED1 #95D13E
analogous
#3E4BD1 #7A3ED1 #C33ED1
triadic
#7A3ED1 #D17A3E #3ED17A
tetradic
#7A3ED1 #D13E4B #95D13E #3ED1C3
square
#7A3ED1 #D13E4B #95D13E #3ED1C3
split-complementary
#7A3ED1 #D1C33E #4BD13E
monochromatic
#421D78 #5D28A9 #7A3ED1 #9C6FDD #BEA1E9

Accessibility & contrast

On white

6.11
#7A3ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7A3ED1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A3ED1
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A3ED1#FFFFFF#000000##FFFFFF
##7A3ED11.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D5
Deuteranopia (green-blind)
#0060CE
Tritanopia (blue-blind)
#646383
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7a3ed1;
/* rgb */ color: rgb(122, 62, 209);
/* oklch */ color: oklch(52.0% 0.212 297.0);
Tailwind
colors: {
  custom: {
    50: '#a778e0',
    500: '#7a3ed1',
    950: '#000000',
  },
}
SCSS
$custom: #7a3ed1;
$custom-light: #a778e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3ed1",
  "rgb": {
    "r": 122,
    "g": 62,
    "b": 209
  },
  "hsl": {
    "h": 264.49,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52043,
    "c": 0.21242,
    "h": 297
  },
  "luminance": 0.12186
}

Semantic roles & 50–950 ramp

primary
#7A3ED1
secondary
#BBD596
accent
#E543A3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7A3ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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