#7E59EF#7E59EF

#7E59EF is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.4% C 0.214 H 289.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7E59EF
RGBrgb(126, 89, 239)
HSLhsl(255, 82%, 64%)
HSVhsv(255, 63%, 94%)
CMYKcmyk(47.3%, 62.8%, 0%, 6.3%)
CIE-LABlab(49.27, 50.39, -70.62)
CIE-LCHlch(49.27, 86.76, 305.51°)
OKLaboklab(58.42% 0.0712 -0.2022)
OKLCHoklch(58.42% 0.214 289.4)
XYZxyz(27.7521, 17.8113, 83.6203)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E59EF #CAEF59
analogous
#597FEF #7E59EF #C959EF
triadic
#7E59EF #EF7E59 #59EF7E
tetradic
#7E59EF #EF597F #CAEF59 #59EFC9
square
#7E59EF #EF597F #CAEF59 #59EFC9
split-complementary
#7E59EF #EFC959 #7FEF59
monochromatic
#3C12BC #5321EA #7E59EF #A991F4 #D5C9FA

Accessibility & contrast

On white

4.60
#7E59EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#7E59EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E59EF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E59EF#FFFFFF#000000##FFFFFF
##7E59EF1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#0071EC
Tritanopia (blue-blind)
#597D9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e59ef;
/* rgb */ color: rgb(126, 89, 239);
/* oklch */ color: oklch(58.4% 0.214 289.4);
Tailwind
colors: {
  custom: {
    50: '#ab8af5',
    500: '#7e59ef',
    950: '#000000',
  },
}
SCSS
$custom: #7e59ef;
$custom-light: #ab8af5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e59ef",
  "rgb": {
    "r": 126,
    "g": 89,
    "b": 239
  },
  "hsl": {
    "h": 254.8,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58416,
    "c": 0.21434,
    "h": 289.4
  },
  "luminance": 0.17812
}

Semantic roles & 50–950 ramp

primary
#7E59EF
secondary
#DFECB8
accent
#DF07AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E59EF

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

Preview Lab → · Contrast checker → · Palette generator →

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