#7A4FD8#7A4FD8

#7A4FD8 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.9% C 0.199 H 293.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7A4FD8
RGBrgb(122, 79, 216)
HSLhsl(259, 64%, 58%)
HSVhsv(259, 63%, 85%)
CMYKcmyk(43.5%, 63.4%, 0%, 15.3%)
CIE-LABlab(45.20, 48.74, -64.22)
CIE-LCHlch(45.20, 80.62, 307.19°)
OKLaboklab(54.86% 0.0783 -0.1835)
OKLCHoklch(54.86% 0.199 293.1)
XYZxyz(23.2133, 14.6867, 66.5642)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FD8 #ADD84F
analogous
#4F68D8 #7A4FD8 #BE4FD8
triadic
#7A4FD8 #D87A4F #4FD87A
tetradic
#7A4FD8 #D84F68 #ADD84F #4FD8BE
square
#7A4FD8 #D84F68 #ADD84F #4FD8BE
split-complementary
#7A4FD8 #D8BE4F #68D84F
monochromatic
#421F8D #592ABF #7A4FD8 #A081E3 #C6B3EE

Accessibility & contrast

On white

5.33
#7A4FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#7A4FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FD8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FD8#FFFFFF#000000##FFFFFF
##7A4FD81.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#0068D5
Tritanopia (blue-blind)
#5F6F8C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a4fd8;
/* rgb */ color: rgb(122, 79, 216);
/* oklch */ color: oklch(54.9% 0.199 293.1);
Tailwind
colors: {
  custom: {
    50: '#a783e5',
    500: '#7a4fd8',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fd8;
$custom-light: #a783e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fd8",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 216
  },
  "hsl": {
    "h": 258.832,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54857,
    "c": 0.19949,
    "h": 293.1
  },
  "luminance": 0.14687
}

Semantic roles & 50–950 ramp

primary
#7A4FD8
secondary
#CCDDA6
accent
#E741B3
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7A4FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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