#7A4AE5#7A4AE5

#7A4AE5 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.2% C 0.221 H 291.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7A4AE5
RGBrgb(122, 74, 229)
HSLhsl(259, 75%, 59%)
HSVhsv(259, 68%, 90%)
CMYKcmyk(46.7%, 67.7%, 0%, 10.2%)
CIE-LABlab(45.21, 54.87, -71.61)
CIE-LCHlch(45.21, 90.21, 307.46°)
OKLaboklab(55.17% 0.0817 -0.2052)
OKLCHoklch(55.17% 0.221 291.7)
XYZxyz(24.6137, 14.6914, 75.6524)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4AE5 #B5E54A
analogous
#4A68E5 #7A4AE5 #C84AE5
triadic
#7A4AE5 #E57A4A #4AE57A
tetradic
#7A4AE5 #E54A68 #B5E54A #4AE5C8
square
#7A4AE5 #E54A68 #B5E54A #4AE5C8
split-complementary
#7A4AE5 #E5C84A #68E54A
monochromatic
#41179E #561ED3 #7A4AE5 #A180ED #C9B5F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A4AE5#FFFFFF#000000##FFFFFF
##7A4AE51.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)
#006DEA
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#597192
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a4ae5;
/* rgb */ color: rgb(122, 74, 229);
/* oklch */ color: oklch(55.2% 0.221 291.7);
Tailwind
colors: {
  custom: {
    50: '#a980ee',
    500: '#7a4ae5',
    950: '#000000',
  },
}
SCSS
$custom: #7a4ae5;
$custom-light: #a980ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4ae5",
  "rgb": {
    "r": 122,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 258.581,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55166,
    "c": 0.22083,
    "h": 291.7
  },
  "luminance": 0.14692
}

Semantic roles & 50–950 ramp

primary
#7A4AE5
secondary
#D1E4A7
accent
#F136B8
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7A4AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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