#7A4CBE#7A4CBE

#7A4CBE is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.172 H 298.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7A4CBE
RGBrgb(122, 76, 190)
HSLhsl(264, 47%, 52%)
HSVhsv(264, 60%, 75%)
CMYKcmyk(35.8%, 60%, 0%, 25.5%)
CIE-LABlab(42.80, 43.47, -53.10)
CIE-LCHlch(42.80, 68.62, 309.30°)
OKLaboklab(52.54% 0.0834 -0.1507)
OKLCHoklch(52.54% 0.172 298.9)
XYZxyz(19.9025, 13.0239, 50.1705)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4CBE #90BE4C
analogous
#4C57BE #7A4CBE #B34CBE
triadic
#7A4CBE #BE7A4C #4CBE7A
tetradic
#7A4CBE #BE4C57 #90BE4C #4CBEB3
square
#7A4CBE #BE4C57 #90BE4C #4CBEB3
split-complementary
#7A4CBE #BEB34C #57BE4C
monochromatic
#412669 #5D3796 #7A4CBE #9B79CE #BDA6DF

Accessibility & contrast

On white

5.83
#7A4CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7A4CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4CBE
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4CBE#FFFFFF#000000##FFFFFF
##7A4CBE1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0165C2
Deuteranopia (green-blind)
#2264BB
Tritanopia (blue-blind)
#6B647E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a4cbe;
/* rgb */ color: rgb(122, 76, 190);
/* oklch */ color: oklch(52.5% 0.172 298.9);
Tailwind
colors: {
  custom: {
    50: '#a580d2',
    500: '#7a4cbe',
    950: '#000000',
  },
}
SCSS
$custom: #7a4cbe;
$custom-light: #a580d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4cbe",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 264.211,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52542,
    "c": 0.17227,
    "h": 298.9
  },
  "luminance": 0.13024
}

Semantic roles & 50–950 ramp

primary
#7A4CBE
secondary
#B8CC9A
accent
#D651A1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7A4CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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