#7A1EAC#7A1EAC

#7A1EAC is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.9% C 0.208 H 309.5°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7A1EAC
RGBrgb(122, 30, 172)
HSLhsl(279, 70%, 40%)
HSVhsv(279, 83%, 67%)
CMYKcmyk(29.1%, 82.6%, 0%, 32.5%)
CIE-LABlab(34.08, 59.86, -56.58)
CIE-LCHlch(34.08, 82.37, 316.61°)
OKLaboklab(45.9% 0.1325 -0.1608)
OKLCHoklch(45.9% 0.208 309.5)
XYZxyz(15.9352, 8.0450, 39.7351)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1EAC #50AC1E
analogous
#331EAC #7A1EAC #AC1E97
triadic
#7A1EAC #AC7A1E #1EAC7A
tetradic
#7A1EAC #AC331E #50AC1E #1E97AC
square
#7A1EAC #AC331E #50AC1E #1E97AC
split-complementary
#7A1EAC #97AC1E #1EAC33
monochromatic
#300C44 #551578 #7A1EAC #9D2DDA #B561E3

Accessibility & contrast

On white

8.05
#7A1EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7A1EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1EAC
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1EAC#FFFFFF#000000##FFFFFF
##7A1EAC1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#724467
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7a1eac;
/* rgb */ color: rgb(122, 30, 172);
/* oklch */ color: oklch(45.9% 0.208 309.5);
Tailwind
colors: {
  custom: {
    50: '#a667c6',
    500: '#7a1eac',
    950: '#000000',
  },
}
SCSS
$custom: #7a1eac;
$custom-light: #a667c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1eac",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 172
  },
  "hsl": {
    "h": 278.873,
    "s": 70.297,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45902,
    "c": 0.2083,
    "h": 309.5
  },
  "luminance": 0.08045
}

Semantic roles & 50–950 ramp

primary
#7A1EAC
secondary
#83C85E
accent
#ED3B7A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A1EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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