#7A4AE3#7A4AE3

#7A4AE3 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.0% C 0.219 H 292.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7A4AE3
RGBrgb(122, 74, 227)
HSLhsl(259, 73%, 59%)
HSVhsv(259, 67%, 89%)
CMYKcmyk(46.3%, 67.4%, 0%, 11%)
CIE-LABlab(45.05, 54.33, -70.73)
CIE-LCHlch(45.05, 89.19, 307.53°)
OKLaboklab(55.01% 0.082 -0.2026)
OKLCHoklch(55.01% 0.219 292)
XYZxyz(24.3361, 14.5804, 74.1902)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4AE3 #B3E34A
analogous
#4A67E3 #7A4AE3 #C74AE3
triadic
#7A4AE3 #E37A4A #4AE37A
tetradic
#7A4AE3 #E34A67 #B3E34A #4AE3C7
square
#7A4AE3 #E34A67 #B3E34A #4AE3C7
split-complementary
#7A4AE3 #E3C74A #67E34A
monochromatic
#41189B #5720D0 #7A4AE3 #A17FEB #C8B4F3

Accessibility & contrast

On white

5.36
#7A4AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7A4AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4AE3
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4AE3#FFFFFF#000000##FFFFFF
##7A4AE31.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#0067E0
Tritanopia (blue-blind)
#5A7091
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7a4ae3;
/* rgb */ color: rgb(122, 74, 227);
/* oklch */ color: oklch(55.0% 0.219 292.0);
Tailwind
colors: {
  custom: {
    50: '#a980ed',
    500: '#7a4ae3',
    950: '#000000',
  },
}
SCSS
$custom: #7a4ae3;
$custom-light: #a980ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4ae3",
  "rgb": {
    "r": 122,
    "g": 74,
    "b": 227
  },
  "hsl": {
    "h": 258.824,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55007,
    "c": 0.21854,
    "h": 292
  },
  "luminance": 0.14581
}

Semantic roles & 50–950 ramp

primary
#7A4AE3
secondary
#D0E2A6
accent
#F038B6
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7A4AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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