#7E59E4#7E59E4

#7E59E4 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.6% C 0.201 H 291.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7E59E4
RGBrgb(126, 89, 228)
HSLhsl(256, 72%, 62%)
HSVhsv(256, 61%, 89%)
CMYKcmyk(44.7%, 61%, 0%, 10.6%)
CIE-LABlab(48.49, 47.34, -65.70)
CIE-LCHlch(48.49, 80.98, 305.78°)
OKLaboklab(57.6% 0.0721 -0.1877)
OKLCHoklch(57.6% 0.201 291)
XYZxyz(26.1762, 17.1809, 75.3208)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E59E4 #BFE459
analogous
#597AE4 #7E59E4 #C359E4
triadic
#7E59E4 #E47E59 #59E47E
tetradic
#7E59E4 #E4597A #BFE459 #59E4C3
square
#7E59E4 #E4597A #BFE459 #59E4C3
split-complementary
#7E59E4 #E4C359 #7AE459
monochromatic
#411BA7 #5524DB #7E59E4 #A78EED #D0C2F5

Accessibility & contrast

On white

4.73
#7E59E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7E59E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E59E4
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E59E4#FFFFFF#000000##FFFFFF
##7E59E41.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#0070E1
Tritanopia (blue-blind)
#5F7996
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e59e4;
/* rgb */ color: rgb(126, 89, 228);
/* oklch */ color: oklch(57.6% 0.201 291.0);
Tailwind
colors: {
  custom: {
    50: '#aa89ed',
    500: '#7e59e4',
    950: '#000000',
  },
}
SCSS
$custom: #7e59e4;
$custom-light: #aa89ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7e59e4",
  "rgb": {
    "r": 126,
    "g": 89,
    "b": 228
  },
  "hsl": {
    "h": 255.971,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.57604,
    "c": 0.20103,
    "h": 291
  },
  "luminance": 0.17182
}

Semantic roles & 50–950 ramp

primary
#7E59E4
secondary
#D8E6B3
accent
#D411A0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7E59E4

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

Preview Lab → · Contrast checker → · Palette generator →

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