#7E59FD#7E59FD

#7E59FD is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.5% C 0.231 H 287.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7E59FD
RGBrgb(126, 89, 253)
HSLhsl(254, 98%, 67%)
HSVhsv(254, 65%, 99%)
CMYKcmyk(50.2%, 64.8%, 0%, 0.8%)
CIE-LABlab(50.30, 54.28, -76.76)
CIE-LCHlch(50.30, 94.01, 305.27°)
OKLaboklab(59.49% 0.0698 -0.2202)
OKLCHoklch(59.49% 0.231 287.6)
XYZxyz(29.9010, 18.6708, 94.9378)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E59FD #D8FD59
analogous
#5986FD #7E59FD #D059FD
triadic
#7E59FD #FD7E59 #59FD7E
tetradic
#7E59FD #FD5986 #D8FD59 #59FDD0
square
#7E59FD #FD5986 #D8FD59 #59FDD0
split-complementary
#7E59FD #FDD059 #86FD59
monochromatic
#3303D9 #4F1DFC #7E59FD #AD95FE #DCD2FE

Accessibility & contrast

On white

4.44
#7E59FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#7E59FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E59FD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E59FD#FFFFFF#000000##000000
##7E59FD1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e59fd;
/* rgb */ color: rgb(126, 89, 253);
/* oklch */ color: oklch(59.5% 0.231 287.6);
Tailwind
colors: {
  custom: {
    50: '#ad8aff',
    500: '#7e59fd',
    950: '#000000',
  },
}
SCSS
$custom: #7e59fd;
$custom-light: #ad8aff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e59fd",
  "rgb": {
    "r": 126,
    "g": 89,
    "b": 253
  },
  "hsl": {
    "h": 253.537,
    "s": 97.619,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59488,
    "c": 0.23098,
    "h": 287.6
  },
  "luminance": 0.18672
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E59FD

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

Preview Lab → · Contrast checker → · Palette generator →

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