#7E59D5#7E59D5

#7E59D5 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.5% C 0.183 H 293.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7E59D5
RGBrgb(126, 89, 213)
HSLhsl(258, 60%, 59%)
HSVhsv(258, 58%, 84%)
CMYKcmyk(40.8%, 58.2%, 0%, 16.5%)
CIE-LABlab(47.47, 43.24, -58.81)
CIE-LCHlch(47.47, 73.00, 306.32°)
OKLaboklab(56.54% 0.0727 -0.1674)
OKLCHoklch(56.54% 0.183 293.5)
XYZxyz(24.1836, 16.3839, 64.8261)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E59D5 #B0D559
analogous
#5972D5 #7E59D5 #BC59D5
triadic
#7E59D5 #D57E59 #59D57E
tetradic
#7E59D5 #D55972 #B0D559 #59D5BC
square
#7E59D5 #D55972 #B0D559 #59D5BC
split-complementary
#7E59D5 #D5BC59 #72D559
monochromatic
#44248F #5B31C0 #7E59D5 #A48AE1 #CABBEE

Accessibility & contrast

On white

4.91
#7E59D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7E59D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E59D5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E59D5#FFFFFF#000000##FFFFFF
##7E59D51.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0272D9
Deuteranopia (green-blind)
#1B6ED2
Tritanopia (blue-blind)
#67748E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7e59d5;
/* rgb */ color: rgb(126, 89, 213);
/* oklch */ color: oklch(56.5% 0.183 293.5);
Tailwind
colors: {
  custom: {
    50: '#a989e3',
    500: '#7e59d5',
    950: '#000000',
  },
}
SCSS
$custom: #7e59d5;
$custom-light: #a989e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e59d5",
  "rgb": {
    "r": 126,
    "g": 89,
    "b": 213
  },
  "hsl": {
    "h": 257.903,
    "s": 59.615,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56541,
    "c": 0.18252,
    "h": 293.5
  },
  "luminance": 0.16384
}

Semantic roles & 50–950 ramp

primary
#7E59D5
secondary
#CFDDAD
accent
#E345B4
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C15
muted
#7F7D84

Preview Lab

Preview with #7E59D5

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

Preview Lab → · Contrast checker → · Palette generator →

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