#7A4FDA#7A4FDA

#7A4FDA is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.0% C 0.202 H 292.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7A4FDA
RGBrgb(122, 79, 218)
HSLhsl(259, 65%, 58%)
HSVhsv(259, 64%, 85%)
CMYKcmyk(44%, 63.8%, 0%, 14.5%)
CIE-LABlab(45.35, 49.28, -65.13)
CIE-LCHlch(45.35, 81.67, 307.11°)
OKLaboklab(55.01% 0.0782 -0.1861)
OKLCHoklch(55.01% 0.202 292.8)
XYZxyz(23.4734, 14.7908, 67.9342)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FDA #AFDA4F
analogous
#4F69DA #7A4FDA #BF4FDA
triadic
#7A4FDA #DA7A4F #4FDA7A
tetradic
#7A4FDA #DA4F69 #AFDA4F #4FDABF
square
#7A4FDA #DA4F69 #AFDA4F #4FDABF
split-complementary
#7A4FDA #DABF4F #69DA4F
monochromatic
#421E90 #5929C3 #7A4FDA #A082E5 #C6B4EF

Accessibility & contrast

On white

5.31
#7A4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7A4FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FDA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FDA#FFFFFF#000000##FFFFFF
##7A4FDA1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0069D7
Tritanopia (blue-blind)
#5E708D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a4fda;
/* rgb */ color: rgb(122, 79, 218);
/* oklch */ color: oklch(55.0% 0.202 292.8);
Tailwind
colors: {
  custom: {
    50: '#a783e6',
    500: '#7a4fda',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fda;
$custom-light: #a783e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fda",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 258.561,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55007,
    "c": 0.20187,
    "h": 292.8
  },
  "luminance": 0.14791
}

Semantic roles & 50–950 ramp

primary
#7A4FDA
secondary
#CDDEA7
accent
#E840B4
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7A4FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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