#7A4CCA#7A4CCA

#7A4CCA is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.4% C 0.187 H 296.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7A4CCA
RGBrgb(122, 76, 202)
HSLhsl(262, 54%, 55%)
HSVhsv(262, 62%, 79%)
CMYKcmyk(39.6%, 62.4%, 0%, 20.8%)
CIE-LABlab(43.61, 46.61, -58.76)
CIE-LCHlch(43.61, 75.00, 308.43°)
OKLaboklab(53.39% 0.0828 -0.1674)
OKLCHoklch(53.39% 0.187 296.3)
XYZxyz(21.2684, 13.5703, 57.3644)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4CCA #9CCA4C
analogous
#4C5DCA #7A4CCA #B94CCA
triadic
#7A4CCA #CA7A4C #4CCA7A
tetradic
#7A4CCA #CA4C5D #9CCA4C #4CCAB9
square
#7A4CCA #CA4C5D #9CCA4C #4CCAB9
split-complementary
#7A4CCA #CAB94C #5DCA4C
monochromatic
#422478 #5D32A7 #7A4CCA #9D7BD8 #C0AAE6

Accessibility & contrast

On white

5.65
#7A4CCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7A4CCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4CCA
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4CCA#FFFFFF#000000##FFFFFF
##7A4CCA1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#666884
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7a4cca;
/* rgb */ color: rgb(122, 76, 202);
/* oklch */ color: oklch(53.4% 0.187 296.3);
Tailwind
colors: {
  custom: {
    50: '#a680db',
    500: '#7a4cca',
    950: '#000000',
  },
}
SCSS
$custom: #7a4cca;
$custom-light: #a680db;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4cca",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 202
  },
  "hsl": {
    "h": 261.905,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5339,
    "c": 0.18673,
    "h": 296.3
  },
  "luminance": 0.13571
}

Semantic roles & 50–950 ramp

primary
#7A4CCA
secondary
#C0D49E
accent
#DE4AA8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A4CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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