#7E59EB#7E59EB

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

Color values

HEX#7E59EB
RGBrgb(126, 89, 235)
HSLhsl(255, 78%, 64%)
HSVhsv(255, 62%, 92%)
CMYKcmyk(46.4%, 62.1%, 0%, 7.8%)
CIE-LABlab(48.98, 49.28, -68.84)
CIE-LCHlch(48.98, 84.66, 305.60°)
OKLaboklab(58.12% 0.0716 -0.1969)
OKLCHoklch(58.12% 0.21 290)
XYZxyz(27.1677, 17.5775, 80.5425)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E59EB #C6EB59
analogous
#597DEB #7E59EB #C759EB
triadic
#7E59EB #EB7E59 #59EB7E
tetradic
#7E59EB #EB597D #C6EB59 #59EBC7
square
#7E59EB #EB597D #C6EB59 #59EBC7
split-complementary
#7E59EB #EBC759 #7DEB59
monochromatic
#3E16B4 #5422E4 #7E59EB #A890F2 #D3C6F8

Accessibility & contrast

On white

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

On black

4.52
#7E59EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7E59EB#FFFFFF#000000##FFFFFF
##7E59EB1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#0071E8
Tritanopia (blue-blind)
#5B7B9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e59eb;
/* rgb */ color: rgb(126, 89, 235);
/* oklch */ color: oklch(58.1% 0.210 290.0);
Tailwind
colors: {
  custom: {
    50: '#ab8af2',
    500: '#7e59eb',
    950: '#000000',
  },
}
SCSS
$custom: #7e59eb;
$custom-light: #ab8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e59eb",
  "rgb": {
    "r": 126,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 255.205,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58118,
    "c": 0.20953,
    "h": 290
  },
  "luminance": 0.17579
}

Semantic roles & 50–950 ramp

primary
#7E59EB
secondary
#DDEAB6
accent
#DB0BA6
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E59EB

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

Preview Lab → · Contrast checker → · Palette generator →

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