#7A4CDA#7A4CDA

#7A4CDA is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.6% C 0.206 H 293.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7A4CDA
RGBrgb(122, 76, 218)
HSLhsl(259, 66%, 58%)
HSVhsv(259, 65%, 85%)
CMYKcmyk(44%, 65.1%, 0%, 14.5%)
CIE-LABlab(44.76, 50.88, -66.09)
CIE-LCHlch(44.76, 83.40, 307.59°)
OKLaboklab(54.58% 0.0813 -0.1889)
OKLCHoklch(54.58% 0.206 293.3)
XYZxyz(23.2619, 14.3677, 67.8637)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4CDA #ACDA4C
analogous
#4C65DA #7A4CDA #C14CDA
triadic
#7A4CDA #DA7A4C #4CDA7A
tetradic
#7A4CDA #DA4C65 #ACDA4C #4CDAC1
square
#7A4CDA #DA4C65 #ACDA4C #4CDAC1
split-complementary
#7A4CDA #DAC14C #65DA4C
monochromatic
#421D8E #5928C1 #7A4CDA #A07FE4 #C5B1EF

Accessibility & contrast

On white

5.42
#7A4CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7A4CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4CDA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4CDA#FFFFFF#000000##FFFFFF
##7A4CDA1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDE
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#5F6E8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a4cda;
/* rgb */ color: rgb(122, 76, 218);
/* oklch */ color: oklch(54.6% 0.206 293.3);
Tailwind
colors: {
  custom: {
    50: '#a781e6',
    500: '#7a4cda',
    950: '#000000',
  },
}
SCSS
$custom: #7a4cda;
$custom-light: #a781e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4cda",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 218
  },
  "hsl": {
    "h": 259.437,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5458,
    "c": 0.20568,
    "h": 293.3
  },
  "luminance": 0.14368
}

Semantic roles & 50–950 ramp

primary
#7A4CDA
secondary
#CBDDA4
accent
#E93FB2
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7A4CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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