#7A4FD2#7A4FD2

#7A4FD2 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.4% C 0.192 H 294.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7A4FD2
RGBrgb(122, 79, 210)
HSLhsl(260, 59%, 57%)
HSVhsv(260, 62%, 82%)
CMYKcmyk(41.9%, 62.4%, 0%, 17.6%)
CIE-LABlab(44.78, 47.12, -61.48)
CIE-LCHlch(44.78, 77.46, 307.47°)
OKLaboklab(54.41% 0.0788 -0.1754)
OKLCHoklch(54.41% 0.192 294.2)
XYZxyz(22.4518, 14.3821, 62.5534)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FD2 #A7D24F
analogous
#4F66D2 #7A4FD2 #BC4FD2
triadic
#7A4FD2 #D27A4F #4FD27A
tetradic
#7A4FD2 #D24F66 #A7D24F #4FD2BC
square
#7A4FD2 #D24F66 #A7D24F #4FD2BC
split-complementary
#7A4FD2 #D2BC4F #66D24F
monochromatic
#422285 #5B2EB5 #7A4FD2 #9F80DE #C4B0EB

Accessibility & contrast

On white

5.42
#7A4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7A4FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FD2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FD2#FFFFFF#000000##FFFFFF
##7A4FD21.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#0068CF
Tritanopia (blue-blind)
#626D89
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a4fd2;
/* rgb */ color: rgb(122, 79, 210);
/* oklch */ color: oklch(54.4% 0.192 294.2);
Tailwind
colors: {
  custom: {
    50: '#a682e1',
    500: '#7a4fd2',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fd2;
$custom-light: #a682e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fd2",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 259.695,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54413,
    "c": 0.19229,
    "h": 294.2
  },
  "luminance": 0.14383
}

Semantic roles & 50–950 ramp

primary
#7A4FD2
secondary
#C8D9A4
accent
#E245AF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7A4FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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