#7A4FE5#7A4FE5

#7A4FE5 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.8% C 0.215 H 291.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7A4FE5
RGBrgb(122, 79, 229)
HSLhsl(257, 74%, 60%)
HSVhsv(257, 66%, 90%)
CMYKcmyk(46.7%, 65.5%, 0%, 10.2%)
CIE-LABlab(46.16, 52.27, -70.06)
CIE-LCHlch(46.16, 87.41, 306.72°)
OKLaboklab(55.85% 0.0769 -0.2006)
OKLCHoklch(55.85% 0.215 291)
XYZxyz(24.9609, 15.3858, 75.7681)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4FE5 #BAE54F
analogous
#4F6FE5 #7A4FE5 #C54FE5
triadic
#7A4FE5 #E57A4F #4FE57A
tetradic
#7A4FE5 #E54F6F #BAE54F #4FE5C5
square
#7A4FE5 #E54F6F #BAE54F #4FE5C5
split-complementary
#7A4FE5 #E5C54F #6FE54F
monochromatic
#3F18A2 #5420D7 #7A4FE5 #A284ED #CBBAF5

Accessibility & contrast

On white

5.15
#7A4FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7A4FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4FE5
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4FE5#FFFFFF#000000##FFFFFF
##7A4FE51.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#006AE2
Tritanopia (blue-blind)
#587493
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7a4fe5;
/* rgb */ color: rgb(122, 79, 229);
/* oklch */ color: oklch(55.8% 0.215 291.0);
Tailwind
colors: {
  custom: {
    50: '#a983ee',
    500: '#7a4fe5',
    950: '#000000',
  },
}
SCSS
$custom: #7a4fe5;
$custom-light: #a983ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4fe5",
  "rgb": {
    "r": 122,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 257.2,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55847,
    "c": 0.21487,
    "h": 291
  },
  "luminance": 0.15387
}

Semantic roles & 50–950 ramp

primary
#7A4FE5
secondary
#D4E5AB
accent
#D60F9D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7A4FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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