#7E59EA#7E59EA

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

Color values

HEX#7E59EA
RGBrgb(126, 89, 234)
HSLhsl(255, 78%, 63%)
HSVhsv(255, 62%, 92%)
CMYKcmyk(46.2%, 62%, 0%, 8.2%)
CIE-LABlab(48.91, 49.00, -68.40)
CIE-LCHlch(48.91, 84.14, 305.62°)
OKLaboklab(58.04% 0.0716 -0.1956)
OKLCHoklch(58.04% 0.208 290.1)
XYZxyz(27.0236, 17.5199, 79.7838)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E59EA #C5EA59
analogous
#597CEA #7E59EA #C659EA
triadic
#7E59EA #EA7E59 #59EA7E
tetradic
#7E59EA #EA597C #C5EA59 #59EAC6
square
#7E59EA #EA597C #C5EA59 #59EAC6
split-complementary
#7E59EA #EAC659 #7CEA59
monochromatic
#3E17B2 #5423E3 #7E59EA #A88FF1 #D2C6F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E59EA#FFFFFF#000000##FFFFFF
##7E59EA1.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)
#0077EF
Deuteranopia (green-blind)
#0071E7
Tritanopia (blue-blind)
#5C7B99
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e59ea;
/* rgb */ color: rgb(126, 89, 234);
/* oklch */ color: oklch(58.0% 0.208 290.1);
Tailwind
colors: {
  custom: {
    50: '#ab8af2',
    500: '#7e59ea',
    950: '#000000',
  },
}
SCSS
$custom: #7e59ea;
$custom-light: #ab8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e59ea",
  "rgb": {
    "r": 126,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 255.31,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58044,
    "c": 0.20832,
    "h": 290.1
  },
  "luminance": 0.17521
}

Semantic roles & 50–950 ramp

primary
#7E59EA
secondary
#DCE9B6
accent
#DA0CA5
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E59EA

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

Preview Lab → · Contrast checker → · Palette generator →

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