#7A4CCE#7A4CCE

#7A4CCE is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.7% C 0.192 H 295.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7A4CCE
RGBrgb(122, 76, 206)
HSLhsl(261, 57%, 55%)
HSVhsv(261, 63%, 81%)
CMYKcmyk(40.8%, 63.1%, 0%, 19.2%)
CIE-LABlab(43.89, 47.67, -60.61)
CIE-LCHlch(43.89, 77.11, 308.19°)
OKLaboklab(53.68% 0.0825 -0.1728)
OKLCHoklch(53.68% 0.192 295.5)
XYZxyz(21.7481, 13.7622, 59.8911)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4CCE #A0CE4C
analogous
#4C5FCE #7A4CCE #BB4CCE
triadic
#7A4CCE #CE7A4C #4CCE7A
tetradic
#7A4CCE #CE4C5F #A0CE4C #4CCEBB
square
#7A4CCE #CE4C5F #A0CE4C #4CCEBB
split-complementary
#7A4CCE #CEBB4C #5FCE4C
monochromatic
#42227D #5C2FAD #7A4CCE #9E7CDB #C1ACE8

Accessibility & contrast

On white

5.60
#7A4CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7A4CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4CCE
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4CCE#FFFFFF#000000##FFFFFF
##7A4CCE1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#646A86
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a4cce;
/* rgb */ color: rgb(122, 76, 206);
/* oklch */ color: oklch(53.7% 0.192 295.5);
Tailwind
colors: {
  custom: {
    50: '#a680de',
    500: '#7a4cce',
    950: '#000000',
  },
}
SCSS
$custom: #7a4cce;
$custom-light: #a680de;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4cce",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 261.231,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53682,
    "c": 0.1915,
    "h": 295.5
  },
  "luminance": 0.13763
}

Semantic roles & 50–950 ramp

primary
#7A4CCE
secondary
#C3D6A0
accent
#E048AA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A4CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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