#7A4AE1#7A4AE1

#7A4AE1 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.8% C 0.216 H 292.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7A4AE1
RGBrgb(122, 74, 225)
HSLhsl(259, 72%, 59%)
HSVhsv(259, 67%, 88%)
CMYKcmyk(45.8%, 67.1%, 0%, 11.8%)
CIE-LABlab(44.90, 53.80, -69.84)
CIE-LCHlch(44.90, 88.16, 307.61°)
OKLaboklab(54.85% 0.0823 -0.2)
OKLCHoklch(54.85% 0.216 292.4)
XYZxyz(24.0617, 14.4706, 72.7449)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4AE1 #B1E14A
analogous
#4A65E1 #7A4AE1 #C54AE1
triadic
#7A4AE1 #E17A4A #4AE17A
tetradic
#7A4AE1 #E14A65 #B1E14A #4AE1C5
square
#7A4AE1 #E14A65 #B1E14A #4AE1C5
split-complementary
#7A4AE1 #E1C54A #65E14A
monochromatic
#411997 #5822CC #7A4AE1 #A17EEA #C7B3F2

Accessibility & contrast

On white

5.39
#7A4AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7A4AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4AE1
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4AE1#FFFFFF#000000##FFFFFF
##7A4AE11.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE6
Deuteranopia (green-blind)
#0067DE
Tritanopia (blue-blind)
#5B6F90
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a4ae1;
/* rgb */ color: rgb(122, 74, 225);
/* oklch */ color: oklch(54.8% 0.216 292.4);
Tailwind
colors: {
  custom: {
    50: '#a880eb',
    500: '#7a4ae1',
    950: '#000000',
  },
}
SCSS
$custom: #7a4ae1;
$custom-light: #a880eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4ae1",
  "rgb": {
    "r": 122,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 259.073,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54849,
    "c": 0.21625,
    "h": 292.4
  },
  "luminance": 0.14471
}

Semantic roles & 50–950 ramp

primary
#7A4AE1
secondary
#CEE1A6
accent
#EE39B5
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7A4AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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