#7A4CF5#7A4CF5

#7A4CF5 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.7% C 0.237 H 289.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7A4CF5
RGBrgb(122, 76, 245)
HSLhsl(256, 89%, 63%)
HSVhsv(256, 69%, 96%)
CMYKcmyk(50.2%, 69%, 0%, 3.9%)
CIE-LABlab(46.84, 58.17, -77.96)
CIE-LCHlch(46.84, 97.27, 306.73°)
OKLaboklab(56.72% 0.0772 -0.2238)
OKLCHoklch(56.72% 0.237 289)
XYZxyz(27.0871, 15.8978, 88.0098)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4CF5 #C7F54C
analogous
#4C73F5 #7A4CF5 #CE4CF5
triadic
#7A4CF5 #F57A4C #4CF57A
tetradic
#7A4CF5 #F54C73 #C7F54C #4CF5CE
square
#7A4CF5 #F54C73 #C7F54C #4CF5CE
split-complementary
#7A4CF5 #F5CE4C #73F54C
monochromatic
#3B0BBC #4F12F2 #7A4CF5 #A586F8 #D0C0FB

Accessibility & contrast

On white

5.02
#7A4CF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7A4CF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4CF5
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4CF5#FFFFFF#000000##FFFFFF
##7A4CF51.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072FA
Deuteranopia (green-blind)
#006BF2
Tritanopia (blue-blind)
#4E789B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a4cf5;
/* rgb */ color: rgb(122, 76, 245);
/* oklch */ color: oklch(56.7% 0.237 289.0);
Tailwind
colors: {
  custom: {
    50: '#ab82fa',
    500: '#7a4cf5',
    950: '#000000',
  },
}
SCSS
$custom: #7a4cf5;
$custom-light: #ab82fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4cf5",
  "rgb": {
    "r": 122,
    "g": 76,
    "b": 245
  },
  "hsl": {
    "h": 256.331,
    "s": 89.418,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56723,
    "c": 0.23677,
    "h": 289
  },
  "luminance": 0.15899
}

Semantic roles & 50–950 ramp

primary
#7A4CF5
secondary
#DCEDB0
accent
#E600A7
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A4CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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