#7E5AE5#7E5AE5

#7E5AE5 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 57.8% C 0.201 H 290.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7E5AE5
RGBrgb(126, 90, 229)
HSLhsl(256, 73%, 63%)
HSVhsv(256, 61%, 90%)
CMYKcmyk(45%, 60.7%, 0%, 10.2%)
CIE-LABlab(48.77, 47.07, -65.81)
CIE-LCHlch(48.77, 80.91, 305.57°)
OKLaboklab(57.83% 0.0709 -0.188)
OKLCHoklch(57.83% 0.201 290.7)
XYZxyz(26.3992, 17.4042, 76.0819)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5AE5 #C1E55A
analogous
#5A7BE5 #7E5AE5 #C45AE5
triadic
#7E5AE5 #E57E5A #5AE57E
tetradic
#7E5AE5 #E55A7B #C1E55A #5AE5C4
square
#7E5AE5 #E55A7B #C1E55A #5AE5C4
split-complementary
#7E5AE5 #E5C45A #7BE55A
monochromatic
#401BAA #5525DD #7E5AE5 #A78FED #D1C4F6

Accessibility & contrast

On white

4.69
#7E5AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7E5AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5AE5
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5AE5#FFFFFF#000000##FFFFFF
##7E5AE51.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#0071E2
Tritanopia (blue-blind)
#5F7A97
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e5ae5;
/* rgb */ color: rgb(126, 90, 229);
/* oklch */ color: oklch(57.8% 0.201 290.7);
Tailwind
colors: {
  custom: {
    50: '#aa8aee',
    500: '#7e5ae5',
    950: '#000000',
  },
}
SCSS
$custom: #7e5ae5;
$custom-light: #aa8aee;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5ae5",
  "rgb": {
    "r": 126,
    "g": 90,
    "b": 229
  },
  "hsl": {
    "h": 255.54,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57829,
    "c": 0.20094,
    "h": 290.7
  },
  "luminance": 0.17405
}

Semantic roles & 50–950 ramp

primary
#7E5AE5
secondary
#DAE7B4
accent
#D511A2
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7E5AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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