#7E59F3#7E59F3

#7E59F3 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.7% C 0.219 H 288.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7E59F3
RGBrgb(126, 89, 243)
HSLhsl(254, 87%, 65%)
HSVhsv(254, 63%, 95%)
CMYKcmyk(48.1%, 63.4%, 0%, 4.7%)
CIE-LABlab(49.56, 51.50, -72.39)
CIE-LCHlch(49.56, 88.84, 305.43°)
OKLaboklab(58.72% 0.0709 -0.2074)
OKLCHoklch(58.72% 0.219 288.9)
XYZxyz(28.3496, 18.0502, 86.7669)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E59F3 #CEF359
analogous
#5981F3 #7E59F3 #CB59F3
triadic
#7E59F3 #F37E59 #59F37E
tetradic
#7E59F3 #F35981 #CEF359 #59F3CB
square
#7E59F3 #F35981 #CEF359 #59F3CB
split-complementary
#7E59F3 #F3CB59 #81F359
monochromatic
#3A0EC3 #5220EF #7E59F3 #AA92F7 #D7CBFB

Accessibility & contrast

On white

4.56
#7E59F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7E59F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E59F3
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E59F3#FFFFFF#000000##000000
##7E59F31.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F8
Deuteranopia (green-blind)
#0072F0
Tritanopia (blue-blind)
#567E9E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e59f3;
/* rgb */ color: rgb(126, 89, 243);
/* oklch */ color: oklch(58.7% 0.219 288.9);
Tailwind
colors: {
  custom: {
    50: '#ac8af8',
    500: '#7e59f3',
    950: '#000000',
  },
}
SCSS
$custom: #7e59f3;
$custom-light: #ac8af8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e59f3",
  "rgb": {
    "r": 126,
    "g": 89,
    "b": 243
  },
  "hsl": {
    "h": 254.416,
    "s": 86.517,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58718,
    "c": 0.21913,
    "h": 288.9
  },
  "luminance": 0.18051
}

Semantic roles & 50–950 ramp

primary
#7E59F3
secondary
#E1EEBA
accent
#E302AD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E59F3

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

Preview Lab → · Contrast checker → · Palette generator →

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