#7A4EEB#7A4EEB

#7A4EEB is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.2% C 0.223 H 290.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7A4EEB
RGBrgb(122, 78, 235)
HSLhsl(257, 80%, 61%)
HSVhsv(257, 67%, 92%)
CMYKcmyk(48.1%, 66.8%, 0%, 7.8%)
CIE-LABlab(46.42, 54.43, -73.02)
CIE-LCHlch(46.42, 91.07, 306.70°)
OKLaboklab(56.18% 0.0771 -0.2093)
OKLCHoklch(56.18% 0.223 290.2)
XYZxyz(25.7415, 15.5835, 80.2327)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4EEB #BFEB4E
analogous
#4E71EB #7A4EEB #C84EEB
triadic
#7A4EEB #EB7A4E #4EEB7A
tetradic
#7A4EEB #EB4E71 #BFEB4E #4EEBC8
square
#7A4EEB #EB4E71 #BFEB4E #4EEBC8
split-complementary
#7A4EEB #EBC84E #71EB4E
monochromatic
#3E13AB #521AE2 #7A4EEB #A385F1 #CDBCF7

Accessibility & contrast

On white

5.10
#7A4EEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7A4EEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4EEB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4EEB#FFFFFF#000000##FFFFFF
##7A4EEB1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a4eeb;
/* rgb */ color: rgb(122, 78, 235);
/* oklch */ color: oklch(56.2% 0.223 290.2);
Tailwind
colors: {
  custom: {
    50: '#a982f2',
    500: '#7a4eeb',
    950: '#000000',
  },
}
SCSS
$custom: #7a4eeb;
$custom-light: #a982f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4eeb",
  "rgb": {
    "r": 122,
    "g": 78,
    "b": 235
  },
  "hsl": {
    "h": 256.815,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56181,
    "c": 0.22305,
    "h": 290.2
  },
  "luminance": 0.15585
}

Semantic roles & 50–950 ramp

primary
#7A4EEB
secondary
#D7E8AD
accent
#DC09A1
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A4EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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