#7E59FE#7E59FE

#7E59FE is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.6% C 0.232 H 287.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7E59FE
RGBrgb(126, 89, 254)
HSLhsl(253, 99%, 67%)
HSVhsv(253, 65%, 100%)
CMYKcmyk(50.4%, 65%, 0%, 0.4%)
CIE-LABlab(50.38, 54.56, -77.19)
CIE-LCHlch(50.38, 94.53, 305.25°)
OKLaboklab(59.57% 0.0696 -0.2215)
OKLCHoklch(59.57% 0.232 287.5)
XYZxyz(30.0607, 18.7347, 95.7789)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E59FE #D9FE59
analogous
#5986FE #7E59FE #D159FE
triadic
#7E59FE #FE7E59 #59FE7E
tetradic
#7E59FE #FE5986 #D9FE59 #59FED1
square
#7E59FE #FE5986 #D9FE59 #59FED1
split-complementary
#7E59FE #FED159 #86FE59
monochromatic
#3201DB #4F1CFE #7E59FE #AD96FE #DDD3FF

Accessibility & contrast

On white

4.42
#7E59FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#7E59FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E59FE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E59FE#FFFFFF#000000##000000
##7E59FE1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0073FB
Tritanopia (blue-blind)
#4E82A4
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e59fe;
/* rgb */ color: rgb(126, 89, 254);
/* oklch */ color: oklch(59.6% 0.232 287.5);
Tailwind
colors: {
  custom: {
    50: '#ad8aff',
    500: '#7e59fe',
    950: '#000000',
  },
}
SCSS
$custom: #7e59fe;
$custom-light: #ad8aff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e59fe",
  "rgb": {
    "r": 126,
    "g": 89,
    "b": 254
  },
  "hsl": {
    "h": 253.455,
    "s": 98.802,
    "l": 67.255
  },
  "oklch": {
    "l": 0.59566,
    "c": 0.23215,
    "h": 287.5
  },
  "luminance": 0.18736
}

Semantic roles & 50–950 ramp

primary
#7E59FE
secondary
#E8F3BF
accent
#E600B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7E59FE

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

Preview Lab → · Contrast checker → · Palette generator →

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