#7E59EE#7E59EE

#7E59EE is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.3% C 0.213 H 289.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7E59EE
RGBrgb(126, 89, 238)
HSLhsl(255, 81%, 64%)
HSVhsv(255, 63%, 93%)
CMYKcmyk(47.1%, 62.6%, 0%, 6.7%)
CIE-LABlab(49.19, 50.11, -70.18)
CIE-LCHlch(49.19, 86.23, 305.53°)
OKLaboklab(58.34% 0.0713 -0.2009)
OKLCHoklch(58.34% 0.213 289.5)
XYZxyz(27.6048, 17.7523, 82.8444)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E59EE #C9EE59
analogous
#597FEE #7E59EE #C859EE
triadic
#7E59EE #EE7E59 #59EE7E
tetradic
#7E59EE #EE597F #C9EE59 #59EEC8
square
#7E59EE #EE597F #C9EE59 #59EEC8
split-complementary
#7E59EE #EEC859 #7FEE59
monochromatic
#3C13BA #5321E8 #7E59EE #A991F4 #D4C8F9

Accessibility & contrast

On white

4.61
#7E59EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7E59EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E59EE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E59EE#FFFFFF#000000##FFFFFF
##7E59EE1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F3
Deuteranopia (green-blind)
#0071EB
Tritanopia (blue-blind)
#5A7C9B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e59ee;
/* rgb */ color: rgb(126, 89, 238);
/* oklch */ color: oklch(58.3% 0.213 289.5);
Tailwind
colors: {
  custom: {
    50: '#ab8af4',
    500: '#7e59ee',
    950: '#000000',
  },
}
SCSS
$custom: #7e59ee;
$custom-light: #ab8af4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e59ee",
  "rgb": {
    "r": 126,
    "g": 89,
    "b": 238
  },
  "hsl": {
    "h": 254.899,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58341,
    "c": 0.21314,
    "h": 289.5
  },
  "luminance": 0.17753
}

Semantic roles & 50–950 ramp

primary
#7E59EE
secondary
#DEEBB7
accent
#DE08A9
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E59EE

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

Preview Lab → · Contrast checker → · Palette generator →

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