#7A5AE8#7A5AE8

#7A5AE8 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.7% C 0.205 H 288.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7A5AE8
RGBrgb(122, 90, 232)
HSLhsl(254, 76%, 63%)
HSVhsv(254, 61%, 91%)
CMYKcmyk(47.4%, 61.2%, 0%, 9%)
CIE-LABlab(48.60, 47.12, -67.78)
CIE-LCHlch(48.60, 82.55, 304.80°)
OKLaboklab(57.69% 0.0655 -0.1939)
OKLCHoklch(57.69% 0.205 288.7)
XYZxyz(26.2435, 17.2750, 78.2799)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5AE8 #C8E85A
analogous
#5A81E8 #7A5AE8 #C15AE8
triadic
#7A5AE8 #E87A5A #5AE87A
tetradic
#7A5AE8 #E85A81 #C8E85A #5AE8C1
square
#7A5AE8 #E85A81 #C8E85A #5AE8C1
split-complementary
#7A5AE8 #E8C15A #81E85A
monochromatic
#3A18AF #4F24E1 #7A5AE8 #A590EF #D1C5F7

Accessibility & contrast

On white

4.71
#7A5AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7A5AE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5AE8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5AE8#FFFFFF#000000##FFFFFF
##7A5AE81.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#0070E5
Tritanopia (blue-blind)
#567B99
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a5ae8;
/* rgb */ color: rgb(122, 90, 232);
/* oklch */ color: oklch(57.7% 0.205 288.7);
Tailwind
colors: {
  custom: {
    50: '#a88af0',
    500: '#7a5ae8',
    950: '#000000',
  },
}
SCSS
$custom: #7a5ae8;
$custom-light: #a88af0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5ae8",
  "rgb": {
    "r": 122,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 253.521,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57689,
    "c": 0.2047,
    "h": 288.7
  },
  "luminance": 0.17276
}

Semantic roles & 50–950 ramp

primary
#7A5AE8
secondary
#DDE8B5
accent
#D80EAA
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A5AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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