#7E5AED#7E5AED

#7E5AED is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.4% C 0.211 H 289.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7E5AED
RGBrgb(126, 90, 237)
HSLhsl(255, 80%, 64%)
HSVhsv(255, 62%, 93%)
CMYKcmyk(46.8%, 62%, 0%, 7.1%)
CIE-LABlab(49.33, 49.29, -69.40)
CIE-LCHlch(49.33, 85.12, 305.38°)
OKLaboklab(58.41% 0.0704 -0.1986)
OKLCHoklch(58.41% 0.211 289.5)
XYZxyz(27.5421, 17.8613, 82.1007)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5AED #C9ED5A
analogous
#5A80ED #7E5AED #C85AED
triadic
#7E5AED #ED7E5A #5AED7E
tetradic
#7E5AED #ED5A80 #C9ED5A #5AEDC8
square
#7E5AED #ED5A80 #C9ED5A #5AEDC8
split-complementary
#7E5AED #EDC85A #80ED5A
monochromatic
#3C14B8 #5323E7 #7E5AED #A991F3 #D4C8F9

Accessibility & contrast

On white

4.59
#7E5AED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7E5AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5AED
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5AED#FFFFFF#000000##FFFFFF
##7E5AED1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F2
Deuteranopia (green-blind)
#0072EA
Tritanopia (blue-blind)
#5A7D9B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e5aed;
/* rgb */ color: rgb(126, 90, 237);
/* oklch */ color: oklch(58.4% 0.211 289.5);
Tailwind
colors: {
  custom: {
    50: '#ab8af4',
    500: '#7e5aed',
    950: '#000000',
  },
}
SCSS
$custom: #7e5aed;
$custom-light: #ab8af4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5aed",
  "rgb": {
    "r": 126,
    "g": 90,
    "b": 237
  },
  "hsl": {
    "h": 254.694,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58415,
    "c": 0.21067,
    "h": 289.5
  },
  "luminance": 0.17862
}

Semantic roles & 50–950 ramp

primary
#7E5AED
secondary
#DEEBB8
accent
#DD09A9
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E5AED

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

Preview Lab → · Contrast checker → · Palette generator →

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