#7A4CDC#7A4CDC

#7A4CDC is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.7% C 0.208 H 292.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7A4CDC
RGBrgb(122, 76, 220)
HSLhsl(259, 67%, 58%)
HSVhsv(259, 65%, 86%)
CMYKcmyk(44.5%, 65.5%, 0%, 13.7%)
CIE-LABlab(44.90, 51.42, -66.99)
CIE-LCHlch(44.90, 84.45, 307.51°)
OKLaboklab(54.73% 0.081 -0.1916)
OKLCHoklch(54.73% 0.208 292.9)
XYZxyz(23.5252, 14.4730, 69.2503)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4CDC #AEDC4C
analogous
#4C66DC #7A4CDC #C24CDC
triadic
#7A4CDC #DC7A4C #4CDC7A
tetradic
#7A4CDC #DC4C66 #AEDC4C #4CDCC2
square
#7A4CDC #DC4C66 #AEDC4C #4CDCC2
split-complementary
#7A4CDC #DCC24C #66DC4C
monochromatic
#421C91 #5926C4 #7A4CDC #A07FE6 #C6B2F0

Accessibility & contrast

On white

5.39
#7A4CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7A4CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4CDC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4CDC#FFFFFF#000000##FFFFFF
##7A4CDC1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#5E6F8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a4cdc;
/* rgb */ color: rgb(122, 76, 220);
/* oklch */ color: oklch(54.7% 0.208 292.9);
Tailwind
colors: {
  custom: {
    50: '#a881e8',
    500: '#7a4cdc',
    950: '#000000',
  },
}
SCSS
$custom: #7a4cdc;
$custom-light: #a881e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4cdc",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 220
  },
  "hsl": {
    "h": 259.167,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54733,
    "c": 0.20802,
    "h": 292.9
  },
  "luminance": 0.14474
}

Semantic roles & 50–950 ramp

primary
#7A4CDC
secondary
#CCDFA5
accent
#EA3EB3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7A4CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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