#7E59E8#7E59E8

#7E59E8 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 57.9% C 0.206 H 290.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7E59E8
RGBrgb(126, 89, 232)
HSLhsl(256, 76%, 63%)
HSVhsv(256, 62%, 91%)
CMYKcmyk(45.7%, 61.6%, 0%, 9%)
CIE-LABlab(48.77, 48.45, -67.50)
CIE-LCHlch(48.77, 83.09, 305.67°)
OKLaboklab(57.9% 0.0718 -0.193)
OKLCHoklch(57.9% 0.206 290.4)
XYZxyz(26.7379, 17.4056, 78.2791)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E59E8 #C3E859
analogous
#597CE8 #7E59E8 #C559E8
triadic
#7E59E8 #E87E59 #59E87E
tetradic
#7E59E8 #E8597C #C3E859 #59E8C5
square
#7E59E8 #E8597C #C3E859 #59E8C5
split-complementary
#7E59E8 #E8C559 #7CE859
monochromatic
#3F18AE #5423E1 #7E59E8 #A88FEF #D2C5F7

Accessibility & contrast

On white

4.69
#7E59E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7E59E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E59E8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E59E8#FFFFFF#000000##FFFFFF
##7E59E81.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#0071E5
Tritanopia (blue-blind)
#5D7A98
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e59e8;
/* rgb */ color: rgb(126, 89, 232);
/* oklch */ color: oklch(57.9% 0.206 290.4);
Tailwind
colors: {
  custom: {
    50: '#ab8af0',
    500: '#7e59e8',
    950: '#000000',
  },
}
SCSS
$custom: #7e59e8;
$custom-light: #ab8af0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e59e8",
  "rgb": {
    "r": 126,
    "g": 89,
    "b": 232
  },
  "hsl": {
    "h": 255.524,
    "s": 75.661,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57896,
    "c": 0.20589,
    "h": 290.4
  },
  "luminance": 0.17407
}

Semantic roles & 50–950 ramp

primary
#7E59E8
secondary
#DBE8B5
accent
#D80EA4
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E59E8

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

Preview Lab → · Contrast checker → · Palette generator →

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