#7A5AAE#7A5AAE

#7A5AAE is a mid, vivid violet. Relative luminance 0.145; OKLCH L 53.8% C 0.130 H 299.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7A5AAE
RGBrgb(122, 90, 174)
HSLhsl(263, 34%, 52%)
HSVhsv(263, 48%, 68%)
CMYKcmyk(29.9%, 48.3%, 0%, 31.8%)
CIE-LABlab(44.95, 31.27, -40.29)
CIE-LCHlch(44.95, 51.00, 307.82°)
OKLaboklab(53.82% 0.0643 -0.1132)
OKLCHoklch(53.82% 0.13 299.6)
XYZxyz(19.3204, 14.5058, 41.8182)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5AAE #8EAE5A
analogous
#5A64AE #7A5AAE #A45AAE
triadic
#7A5AAE #AE7A5A #5AAE7A
tetradic
#7A5AAE #AE5A64 #8EAE5A #5AAEA4
square
#7A5AAE #AE5A64 #8EAE5A #5AAEA4
split-complementary
#7A5AAE #AEA45A #64AE5A
monochromatic
#412F5F #5D4388 #7A5AAE #9B83C2 #BCACD6

Accessibility & contrast

On white

5.38
#7A5AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7A5AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5AAE
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5AAE#FFFFFF#000000##FFFFFF
##7A5AAE1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406AB1
Deuteranopia (green-blind)
#476AAC
Tritanopia (blue-blind)
#70697C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7a5aae;
/* rgb */ color: rgb(122, 90, 174);
/* oklch */ color: oklch(53.8% 0.130 299.6);
Tailwind
colors: {
  custom: {
    50: '#a389c6',
    500: '#7a5aae',
    950: '#000000',
  },
}
SCSS
$custom: #7a5aae;
$custom-light: #a389c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5aae",
  "rgb": {
    "r": 122,
    "g": 90,
    "b": 174
  },
  "hsl": {
    "h": 262.857,
    "s": 34.146,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53822,
    "c": 0.13024,
    "h": 299.6
  },
  "luminance": 0.14506
}

Semantic roles & 50–950 ramp

primary
#7A5AAE
secondary
#B6C49F
accent
#CA5EA1
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #7A5AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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