#7A4EED#7A4EED

#7A4EED is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.3% C 0.225 H 289.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7A4EED
RGBrgb(122, 78, 237)
HSLhsl(257, 82%, 62%)
HSVhsv(257, 67%, 93%)
CMYKcmyk(48.5%, 67.1%, 0%, 7.1%)
CIE-LABlab(46.58, 54.98, -73.89)
CIE-LCHlch(46.58, 92.10, 306.65°)
OKLaboklab(56.34% 0.0768 -0.2119)
OKLCHoklch(56.34% 0.225 289.9)
XYZxyz(26.0321, 15.6997, 81.7631)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A4EED #C1ED4E
analogous
#4E72ED #7A4EED #CA4EED
triadic
#7A4EED #ED7A4E #4EED7A
tetradic
#7A4EED #ED4E72 #C1ED4E #4EEDCA
square
#7A4EED #ED4E72 #C1ED4E #4EEDCA
split-complementary
#7A4EED #EDCA4E #72ED4E
monochromatic
#3D12AF #5117E6 #7A4EED #A486F3 #CDBDF8

Accessibility & contrast

On white

5.07
#7A4EED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7A4EED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A4EED
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A4EED#FFFFFF#000000##FFFFFF
##7A4EED1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F2
Deuteranopia (green-blind)
#006BEA
Tritanopia (blue-blind)
#537697
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a4eed;
/* rgb */ color: rgb(122, 78, 237);
/* oklch */ color: oklch(56.3% 0.225 289.9);
Tailwind
colors: {
  custom: {
    50: '#aa82f4',
    500: '#7a4eed',
    950: '#000000',
  },
}
SCSS
$custom: #7a4eed;
$custom-light: #aa82f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a4eed",
  "rgb": {
    "r": 122,
    "g": 78,
    "b": 237
  },
  "hsl": {
    "h": 256.604,
    "s": 81.538,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5634,
    "c": 0.22537,
    "h": 289.9
  },
  "luminance": 0.15701
}

Semantic roles & 50–950 ramp

primary
#7A4EED
secondary
#D9E9AE
accent
#DE08A3
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7A4EED

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

Preview Lab → · Contrast checker → · Palette generator →

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