#7A4ADA#7A4ADA

#7A4ADA is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.3% C 0.208 H 293.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7A4ADA
RGBrgb(122, 74, 218)
HSLhsl(260, 66%, 57%)
HSVhsv(260, 66%, 85%)
CMYKcmyk(44%, 66.1%, 0%, 14.5%)
CIE-LABlab(44.37, 51.93, -66.71)
CIE-LCHlch(44.37, 84.54, 307.90°)
OKLaboklab(54.3% 0.0833 -0.1908)
OKLCHoklch(54.3% 0.208 293.6)
XYZxyz(23.1263, 14.0964, 67.8185)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4ADA #AADA4A
analogous
#4A62DA #7A4ADA #C24ADA
triadic
#7A4ADA #DA7A4A #4ADA7A
tetradic
#7A4ADA #DA4A62 #AADA4A #4ADAC2
square
#7A4ADA #DA4A62 #AADA4A #4ADAC2
split-complementary
#7A4ADA #DAC24A #62DA4A
monochromatic
#421D8D #5A27C0 #7A4ADA #9F7DE4 #C5B0EF

Accessibility & contrast

On white

5.50
#7A4ADA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7A4ADA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4ADA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4ADA#FFFFFF#000000##FFFFFF
##7A4ADA1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#0066D7
Tritanopia (blue-blind)
#5F6D8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a4ada;
/* rgb */ color: rgb(122, 74, 218);
/* oklch */ color: oklch(54.3% 0.208 293.6);
Tailwind
colors: {
  custom: {
    50: '#a87fe6',
    500: '#7a4ada',
    950: '#000000',
  },
}
SCSS
$custom: #7a4ada;
$custom-light: #a87fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4ada",
  "rgb": {
    "r": 122,
    "g": 74,
    "b": 218
  },
  "hsl": {
    "h": 260,
    "s": 66.055,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54303,
    "c": 0.20817,
    "h": 293.6
  },
  "luminance": 0.14097
}

Semantic roles & 50–950 ramp

primary
#7A4ADA
secondary
#CADDA3
accent
#E93FB0
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7A4ADA

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

Preview Lab → · Contrast checker → · Palette generator →

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