#7E59EC#7E59EC

#7E59EC is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.2% C 0.211 H 289.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7E59EC
RGBrgb(126, 89, 236)
HSLhsl(255, 79%, 64%)
HSVhsv(255, 62%, 93%)
CMYKcmyk(46.6%, 62.3%, 0%, 7.5%)
CIE-LABlab(49.05, 49.56, -69.29)
CIE-LCHlch(49.05, 85.19, 305.57°)
OKLaboklab(58.19% 0.0715 -0.1982)
OKLCHoklch(58.19% 0.211 289.8)
XYZxyz(27.3126, 17.6355, 81.3055)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E59EC #C7EC59
analogous
#597DEC #7E59EC #C759EC
triadic
#7E59EC #EC7E59 #59EC7E
tetradic
#7E59EC #EC597D #C7EC59 #59ECC7
square
#7E59EC #EC597D #C7EC59 #59ECC7
split-complementary
#7E59EC #ECC759 #7DEC59
monochromatic
#3D15B6 #5322E6 #7E59EC #A990F2 #D3C7F9

Accessibility & contrast

On white

4.64
#7E59EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7E59EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E59EC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E59EC#FFFFFF#000000##FFFFFF
##7E59EC1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#0071E9
Tritanopia (blue-blind)
#5B7C9A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e59ec;
/* rgb */ color: rgb(126, 89, 236);
/* oklch */ color: oklch(58.2% 0.211 289.8);
Tailwind
colors: {
  custom: {
    50: '#ab8af3',
    500: '#7e59ec',
    950: '#000000',
  },
}
SCSS
$custom: #7e59ec;
$custom-light: #ab8af3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e59ec",
  "rgb": {
    "r": 126,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 255.102,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58192,
    "c": 0.21073,
    "h": 289.8
  },
  "luminance": 0.17637
}

Semantic roles & 50–950 ramp

primary
#7E59EC
secondary
#DDEAB6
accent
#DC0AA7
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E59EC

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

Preview Lab → · Contrast checker → · Palette generator →

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