#7A4EE1#7A4EE1

#7A4EE1 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.4% C 0.211 H 291.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7A4EE1
RGBrgb(122, 78, 225)
HSLhsl(258, 71%, 59%)
HSVhsv(258, 65%, 88%)
CMYKcmyk(45.8%, 65.3%, 0%, 11.8%)
CIE-LABlab(45.66, 51.71, -68.60)
CIE-LCHlch(45.66, 85.90, 307.01°)
OKLaboklab(55.4% 0.0784 -0.1963)
OKLCHoklch(55.4% 0.211 291.8)
XYZxyz(24.3372, 15.0218, 72.8367)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4EE1 #B5E14E
analogous
#4E6CE1 #7A4EE1 #C34EE1
triadic
#7A4EE1 #E17A4E #4EE17A
tetradic
#7A4EE1 #E14E6C #B5E14E #4EE1C3
square
#7A4EE1 #E14E6C #B5E14E #4EE1C3
split-complementary
#7A4EE1 #E1C34E #6CE14E
monochromatic
#411A9A #5623CF #7A4EE1 #A182EA #C9B7F3

Accessibility & contrast

On white

5.24
#7A4EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7A4EE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4EE1
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4EE1#FFFFFF#000000##FFFFFF
##7A4EE11.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE6
Deuteranopia (green-blind)
#0069DE
Tritanopia (blue-blind)
#5B7291
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7a4ee1;
/* rgb */ color: rgb(122, 78, 225);
/* oklch */ color: oklch(55.4% 0.211 291.8);
Tailwind
colors: {
  custom: {
    50: '#a882eb',
    500: '#7a4ee1',
    950: '#000000',
  },
}
SCSS
$custom: #7a4ee1;
$custom-light: #a882eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4ee1",
  "rgb": {
    "r": 122,
    "g": 78,
    "b": 225
  },
  "hsl": {
    "h": 257.959,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55398,
    "c": 0.2114,
    "h": 291.8
  },
  "luminance": 0.15023
}

Semantic roles & 50–950 ramp

primary
#7A4EE1
secondary
#D1E2A9
accent
#EE3AB8
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7A4EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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