#7A4ECD#7A4ECD

#7A4ECD is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.188 H 295.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7A4ECD
RGBrgb(122, 78, 205)
HSLhsl(261, 56%, 55%)
HSVhsv(261, 62%, 80%)
CMYKcmyk(40.5%, 62%, 0%, 19.6%)
CIE-LABlab(44.22, 46.32, -59.49)
CIE-LCHlch(44.22, 75.40, 307.90°)
OKLaboklab(53.9% 0.0803 -0.1696)
OKLCHoklch(53.9% 0.188 295.3)
XYZxyz(21.7670, 13.9937, 59.3000)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4ECD #A1CD4E
analogous
#4E62CD #7A4ECD #B94ECD
triadic
#7A4ECD #CD7A4E #4ECD7A
tetradic
#7A4ECD #CD4E62 #A1CD4E #4ECDB9
square
#7A4ECD #CD4E62 #A1CD4E #4ECDB9
split-complementary
#7A4ECD #CDB94E #62CD4E
monochromatic
#43237D #5C31AD #7A4ECD #9E7EDA #C2ADE8

Accessibility & contrast

On white

5.53
#7A4ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7A4ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4ECD
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4ECD#FFFFFF#000000##FFFFFF
##7A4ECD1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#0067CA
Tritanopia (blue-blind)
#656B86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a4ecd;
/* rgb */ color: rgb(122, 78, 205);
/* oklch */ color: oklch(53.9% 0.188 295.3);
Tailwind
colors: {
  custom: {
    50: '#a682dd',
    500: '#7a4ecd',
    950: '#000000',
  },
}
SCSS
$custom: #7a4ecd;
$custom-light: #a682dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4ecd",
  "rgb": {
    "r": 122,
    "g": 78,
    "b": 205
  },
  "hsl": {
    "h": 260.787,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53902,
    "c": 0.18762,
    "h": 295.3
  },
  "luminance": 0.13994
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A4ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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