#7A5EAE#7A5EAE

#7A5EAE is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.5% C 0.124 H 298.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7A5EAE
RGBrgb(122, 94, 174)
HSLhsl(261, 33%, 53%)
HSVhsv(261, 46%, 68%)
CMYKcmyk(29.9%, 46%, 0%, 31.8%)
CIE-LABlab(45.91, 28.90, -38.78)
CIE-LCHlch(45.91, 48.36, 306.70°)
OKLaboklab(54.54% 0.0587 -0.1088)
OKLCHoklch(54.54% 0.124 298.4)
XYZxyz(19.6669, 15.1988, 41.9337)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5EAE #92AE5E
analogous
#5E6AAE #7A5EAE #A25EAE
triadic
#7A5EAE #AE7A5E #5EAE7A
tetradic
#7A5EAE #AE5E6A #92AE5E #5EAEA2
square
#7A5EAE #AE5E6A #92AE5E #5EAEA2
split-complementary
#7A5EAE #AEA25E #6AAE5E
monochromatic
#423161 #5D458A #7A5EAE #9C87C2 #BDAFD7

Accessibility & contrast

On white

5.20
#7A5EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7A5EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5EAE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5EAE#FFFFFF#000000##FFFFFF
##7A5EAE1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466DB1
Deuteranopia (green-blind)
#4C6CAC
Tritanopia (blue-blind)
#6F6C7E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7a5eae;
/* rgb */ color: rgb(122, 94, 174);
/* oklch */ color: oklch(54.5% 0.124 298.4);
Tailwind
colors: {
  custom: {
    50: '#a28cc6',
    500: '#7a5eae',
    950: '#000000',
  },
}
SCSS
$custom: #7a5eae;
$custom-light: #a28cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5eae",
  "rgb": {
    "r": 122,
    "g": 94,
    "b": 174
  },
  "hsl": {
    "h": 261,
    "s": 33.058,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54538,
    "c": 0.12367,
    "h": 298.4
  },
  "luminance": 0.15199
}

Semantic roles & 50–950 ramp

primary
#7A5EAE
secondary
#B9C5A3
accent
#C95FA4
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #7A5EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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