#7E5AE7#7E5AE7

#7E5AE7 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.0% C 0.203 H 290.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7E5AE7
RGBrgb(126, 90, 231)
HSLhsl(255, 75%, 63%)
HSVhsv(255, 61%, 91%)
CMYKcmyk(45.5%, 61%, 0%, 9.4%)
CIE-LABlab(48.90, 47.62, -66.71)
CIE-LCHlch(48.90, 81.97, 305.52°)
OKLaboklab(57.97% 0.0708 -0.1907)
OKLCHoklch(57.97% 0.203 290.4)
XYZxyz(26.6801, 17.5165, 77.5611)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E5AE7 #C3E75A
analogous
#5A7CE7 #7E5AE7 #C45AE7
triadic
#7E5AE7 #E77E5A #5AE77E
tetradic
#7E5AE7 #E75A7C #C3E75A #5AE7C4
square
#7E5AE7 #E75A7C #C3E75A #5AE7C4
split-complementary
#7E5AE7 #E7C45A #7CE75A
monochromatic
#3F19AD #5425DF #7E5AE7 #A88FEF #D2C5F7

Accessibility & contrast

On white

4.66
#7E5AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7E5AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E5AE7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E5AE7#FFFFFF#000000##FFFFFF
##7E5AE71.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#0071E4
Tritanopia (blue-blind)
#5E7B98
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e5ae7;
/* rgb */ color: rgb(126, 90, 231);
/* oklch */ color: oklch(58.0% 0.203 290.4);
Tailwind
colors: {
  custom: {
    50: '#ab8aef',
    500: '#7e5ae7',
    950: '#000000',
  },
}
SCSS
$custom: #7e5ae7;
$custom-light: #ab8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#7e5ae7",
  "rgb": {
    "r": 126,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 255.319,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57974,
    "c": 0.20338,
    "h": 290.4
  },
  "luminance": 0.17517
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E5AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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