#7A4ACA#7A4ACA

#7A4ACA is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.1% C 0.189 H 296.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7A4ACA
RGBrgb(122, 74, 202)
HSLhsl(263, 55%, 54%)
HSVhsv(263, 63%, 79%)
CMYKcmyk(39.6%, 63.4%, 0%, 20.8%)
CIE-LABlab(43.21, 47.69, -59.40)
CIE-LCHlch(43.21, 76.18, 308.76°)
OKLaboklab(53.1% 0.085 -0.1693)
OKLCHoklch(53.1% 0.189 296.7)
XYZxyz(21.1327, 13.2990, 57.3192)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4ACA #9ACA4A
analogous
#4A5ACA #7A4ACA #BA4ACA
triadic
#7A4ACA #CA7A4A #4ACA7A
tetradic
#7A4ACA #CA4A5A #9ACA4A #4ACABA
square
#7A4ACA #CA4A5A #9ACA4A #4ACABA
split-complementary
#7A4ACA #CABA4A #5ACA4A
monochromatic
#422377 #5D31A6 #7A4ACA #9D79D8 #C0A9E6

Accessibility & contrast

On white

5.74
#7A4ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7A4ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4ACA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4ACA#FFFFFF#000000##FFFFFF
##7A4ACA1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#666783
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7a4aca;
/* rgb */ color: rgb(122, 74, 202);
/* oklch */ color: oklch(53.1% 0.189 296.7);
Tailwind
colors: {
  custom: {
    50: '#a67fdb',
    500: '#7a4aca',
    950: '#000000',
  },
}
SCSS
$custom: #7a4aca;
$custom-light: #a67fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4aca",
  "rgb": {
    "r": 122,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 262.5,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53101,
    "c": 0.18943,
    "h": 296.7
  },
  "luminance": 0.13299
}

Semantic roles & 50–950 ramp

primary
#7A4ACA
secondary
#BFD39D
accent
#DE4AA6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A4ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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