#7A4FDC#7A4FDC

#7A4FDC is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.2% C 0.204 H 292.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7A4FDC
RGBrgb(122, 79, 220)
HSLhsl(258, 67%, 59%)
HSVhsv(258, 64%, 86%)
CMYKcmyk(44.5%, 64.1%, 0%, 13.7%)
CIE-LABlab(45.49, 49.82, -66.03)
CIE-LCHlch(45.49, 82.72, 307.03°)
OKLaboklab(55.16% 0.078 -0.1888)
OKLCHoklch(55.16% 0.204 292.4)
XYZxyz(23.7367, 14.8961, 69.3209)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FDC #B1DC4F
analogous
#4F6ADC #7A4FDC #C04FDC
triadic
#7A4FDC #DC7A4F #4FDC7A
tetradic
#7A4FDC #DC4F6A #B1DC4F #4FDCC0
square
#7A4FDC #DC4F6A #B1DC4F #4FDCC0
split-complementary
#7A4FDC #DCC04F #6ADC4F
monochromatic
#411D93 #5827C6 #7A4FDC #A182E6 #C7B5F0

Accessibility & contrast

On white

5.28
#7A4FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7A4FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FDC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FDC#FFFFFF#000000##FFFFFF
##7A4FDC1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#5D708E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7a4fdc;
/* rgb */ color: rgb(122, 79, 220);
/* oklch */ color: oklch(55.2% 0.204 292.4);
Tailwind
colors: {
  custom: {
    50: '#a883e8',
    500: '#7a4fdc',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fdc;
$custom-light: #a883e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fdc",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 258.298,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55158,
    "c": 0.20425,
    "h": 292.4
  },
  "luminance": 0.14897
}

Semantic roles & 50–950 ramp

primary
#7A4FDC
secondary
#CEDFA8
accent
#EA3EB5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7A4FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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