#7A4CCD#7A4CCD

#7A4CCD is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.6% C 0.190 H 295.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7A4CCD
RGBrgb(122, 76, 205)
HSLhsl(261, 56%, 55%)
HSVhsv(261, 63%, 80%)
CMYKcmyk(40.5%, 62.9%, 0%, 19.6%)
CIE-LABlab(43.82, 47.41, -60.15)
CIE-LCHlch(43.82, 76.58, 308.24°)
OKLaboklab(53.61% 0.0825 -0.1715)
OKLCHoklch(53.61% 0.19 295.7)
XYZxyz(21.6270, 13.7138, 59.2533)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4CCD #9FCD4C
analogous
#4C5FCD #7A4CCD #BA4CCD
triadic
#7A4CCD #CD7A4C #4CCD7A
tetradic
#7A4CCD #CD4C5F #9FCD4C #4CCDBA
square
#7A4CCD #CD4C5F #9FCD4C #4CCDBA
split-complementary
#7A4CCD #CDBA4C #5FCD4C
monochromatic
#42237C #5C30AC #7A4CCD #9E7CDA #C1ACE8

Accessibility & contrast

On white

5.61
#7A4CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7A4CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4CCD
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4CCD#FFFFFF#000000##FFFFFF
##7A4CCD1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#656985
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a4ccd;
/* rgb */ color: rgb(122, 76, 205);
/* oklch */ color: oklch(53.6% 0.190 295.7);
Tailwind
colors: {
  custom: {
    50: '#a680dd',
    500: '#7a4ccd',
    950: '#000000',
  },
}
SCSS
$custom: #7a4ccd;
$custom-light: #a680dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4ccd",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 261.395,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53609,
    "c": 0.19031,
    "h": 295.7
  },
  "luminance": 0.13714
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A4CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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