#7A4DCE#7A4DCE

#7A4DCE is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.8% C 0.190 H 295.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7A4DCE
RGBrgb(122, 77, 206)
HSLhsl(261, 57%, 55%)
HSVhsv(261, 63%, 81%)
CMYKcmyk(40.8%, 62.6%, 0%, 19.2%)
CIE-LABlab(44.09, 47.13, -60.29)
CIE-LCHlch(44.09, 76.52, 308.02°)
OKLaboklab(53.83% 0.0814 -0.1719)
OKLCHoklch(53.83% 0.19 295.3)
XYZxyz(21.8176, 13.9011, 59.9142)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4DCE #A1CE4D
analogous
#4D60CE #7A4DCE #BA4DCE
triadic
#7A4DCE #CE7A4D #4DCE7A
tetradic
#7A4DCE #CE4D60 #A1CE4D #4DCEBA
square
#7A4DCE #CE4D60 #A1CE4D #4DCEBA
split-complementary
#7A4DCE #CEBA4D #60CE4D
monochromatic
#43237E #5C30AE #7A4DCE #9E7DDB #C2ADE8

Accessibility & contrast

On white

5.55
#7A4DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7A4DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4DCE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4DCE#FFFFFF#000000##FFFFFF
##7A4DCE1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.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: #7a4dce;
/* rgb */ color: rgb(122, 77, 206);
/* oklch */ color: oklch(53.8% 0.190 295.3);
Tailwind
colors: {
  custom: {
    50: '#a681de',
    500: '#7a4dce',
    950: '#000000',
  },
}
SCSS
$custom: #7a4dce;
$custom-light: #a681de;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4dce",
  "rgb": {
    "r": 122,
    "g": 77,
    "b": 206
  },
  "hsl": {
    "h": 260.93,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53827,
    "c": 0.19016,
    "h": 295.3
  },
  "luminance": 0.13902
}

Semantic roles & 50–950 ramp

primary
#7A4DCE
secondary
#C4D6A1
accent
#E048AB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A4DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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