#7E5AE8#7E5AE8

#7E5AE8 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.0% C 0.205 H 290.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7E5AE8
RGBrgb(126, 90, 232)
HSLhsl(255, 76%, 63%)
HSVhsv(255, 61%, 91%)
CMYKcmyk(45.7%, 61.2%, 0%, 9%)
CIE-LABlab(48.97, 47.90, -67.16)
CIE-LCHlch(48.97, 82.49, 305.49°)
OKLaboklab(58.05% 0.0707 -0.192)
OKLCHoklch(58.05% 0.205 290.2)
XYZxyz(26.8217, 17.5732, 78.3070)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5AE8 #C4E85A
analogous
#5A7DE8 #7E5AE8 #C55AE8
triadic
#7E5AE8 #E87E5A #5AE87E
tetradic
#7E5AE8 #E85A7D #C4E85A #5AE8C5
square
#7E5AE8 #E85A7D #C4E85A #5AE8C5
split-complementary
#7E5AE8 #E8C55A #7DE85A
monochromatic
#3F18AF #5424E1 #7E5AE8 #A890EF #D2C5F7

Accessibility & contrast

On white

4.65
#7E5AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#7E5AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5AE8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5AE8#FFFFFF#000000##FFFFFF
##7E5AE81.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#0071E5
Tritanopia (blue-blind)
#5D7B99
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e5ae8;
/* rgb */ color: rgb(126, 90, 232);
/* oklch */ color: oklch(58.0% 0.205 290.2);
Tailwind
colors: {
  custom: {
    50: '#ab8af0',
    500: '#7e5ae8',
    950: '#000000',
  },
}
SCSS
$custom: #7e5ae8;
$custom-light: #ab8af0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5ae8",
  "rgb": {
    "r": 126,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 255.211,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58047,
    "c": 0.2046,
    "h": 290.2
  },
  "luminance": 0.17574
}

Semantic roles & 50–950 ramp

primary
#7E5AE8
secondary
#DBE8B5
accent
#D80EA5
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E5AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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