#7A4EEA#7A4EEA

#7A4EEA is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.1% C 0.222 H 290.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7A4EEA
RGBrgb(122, 78, 234)
HSLhsl(257, 79%, 61%)
HSVhsv(257, 67%, 92%)
CMYKcmyk(47.9%, 66.7%, 0%, 8.2%)
CIE-LABlab(46.35, 54.16, -72.58)
CIE-LCHlch(46.35, 90.56, 306.73°)
OKLaboklab(56.1% 0.0772 -0.208)
OKLCHoklch(56.1% 0.222 290.4)
XYZxyz(25.5975, 15.5259, 79.4740)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4EEA #BEEA4E
analogous
#4E70EA #7A4EEA #C84EEA
triadic
#7A4EEA #EA7A4E #4EEA7A
tetradic
#7A4EEA #EA4E70 #BEEA4E #4EEAC8
square
#7A4EEA #EA4E70 #BEEA4E #4EEAC8
split-complementary
#7A4EEA #EAC84E #70EA4E
monochromatic
#3E14A9 #521BE0 #7A4EEA #A385F0 #CCBBF7

Accessibility & contrast

On white

5.12
#7A4EEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7A4EEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4EEA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4EEA#FFFFFF#000000##FFFFFF
##7A4EEA1.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EF
Deuteranopia (green-blind)
#006AE7
Tritanopia (blue-blind)
#557596
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a4eea;
/* rgb */ color: rgb(122, 78, 234);
/* oklch */ color: oklch(56.1% 0.222 290.4);
Tailwind
colors: {
  custom: {
    50: '#a982f2',
    500: '#7a4eea',
    950: '#000000',
  },
}
SCSS
$custom: #7a4eea;
$custom-light: #a982f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4eea",
  "rgb": {
    "r": 122,
    "g": 78,
    "b": 234
  },
  "hsl": {
    "h": 256.923,
    "s": 78.788,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56101,
    "c": 0.22189,
    "h": 290.4
  },
  "luminance": 0.15527
}

Semantic roles & 50–950 ramp

primary
#7A4EEA
secondary
#D7E7AD
accent
#DB0AA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A4EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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