#7A4DC8#7A4DC8

#7A4DC8 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.4% C 0.183 H 296.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7A4DC8
RGBrgb(122, 77, 200)
HSLhsl(262, 53%, 54%)
HSVhsv(262, 62%, 78%)
CMYKcmyk(39%, 61.5%, 0%, 21.6%)
CIE-LABlab(43.68, 45.54, -57.49)
CIE-LCHlch(43.68, 73.34, 308.38°)
OKLaboklab(53.39% 0.0818 -0.1637)
OKLCHoklch(53.39% 0.183 296.5)
XYZxyz(21.1026, 13.6151, 56.1485)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4DC8 #9BC84D
analogous
#4D5EC8 #7A4DC8 #B84DC8
triadic
#7A4DC8 #C87A4D #4DC87A
tetradic
#7A4DC8 #C84D5E #9BC84D #4DC8B8
square
#7A4DC8 #C84D5E #9BC84D #4DC8B8
split-complementary
#7A4DC8 #C8B84D #5EC84D
monochromatic
#422476 #5D33A5 #7A4DC8 #9D7CD6 #C0ABE5

Accessibility & contrast

On white

5.64
#7A4DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7A4DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4DC8
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4DC8#FFFFFF#000000##FFFFFF
##7A4DC81.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#0C66C5
Tritanopia (blue-blind)
#676883
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7a4dc8;
/* rgb */ color: rgb(122, 77, 200);
/* oklch */ color: oklch(53.4% 0.183 296.5);
Tailwind
colors: {
  custom: {
    50: '#a681d9',
    500: '#7a4dc8',
    950: '#000000',
  },
}
SCSS
$custom: #7a4dc8;
$custom-light: #a681d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4dc8",
  "rgb": {
    "r": 122,
    "g": 77,
    "b": 200
  },
  "hsl": {
    "h": 261.951,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53394,
    "c": 0.18296,
    "h": 296.5
  },
  "luminance": 0.13615
}

Semantic roles & 50–950 ramp

primary
#7A4DC8
secondary
#BFD29E
accent
#DC4CA7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A4DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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