#7E59F4#7E59F4

#7E59F4 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.8% C 0.220 H 288.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7E59F4
RGBrgb(126, 89, 244)
HSLhsl(254, 88%, 65%)
HSVhsv(254, 64%, 96%)
CMYKcmyk(48.4%, 63.5%, 0%, 4.3%)
CIE-LABlab(49.63, 51.78, -72.83)
CIE-LCHlch(49.63, 89.36, 305.41°)
OKLaboklab(58.79% 0.0707 -0.2087)
OKLCHoklch(58.79% 0.22 288.7)
XYZxyz(28.5010, 18.1108, 87.5644)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E59F4 #CFF459
analogous
#5981F4 #7E59F4 #CC59F4
triadic
#7E59F4 #F47E59 #59F47E
tetradic
#7E59F4 #F45981 #CFF459 #59F4CC
square
#7E59F4 #F45981 #CFF459 #59F4CC
split-complementary
#7E59F4 #F4CC59 #81F459
monochromatic
#390DC6 #5120F0 #7E59F4 #AB92F8 #D7CCFC

Accessibility & contrast

On white

4.54
#7E59F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7E59F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E59F4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E59F4#FFFFFF#000000##000000
##7E59F41.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F9
Deuteranopia (green-blind)
#0072F1
Tritanopia (blue-blind)
#567E9F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e59f4;
/* rgb */ color: rgb(126, 89, 244);
/* oklch */ color: oklch(58.8% 0.220 288.7);
Tailwind
colors: {
  custom: {
    50: '#ac8af9',
    500: '#7e59f4',
    950: '#000000',
  },
}
SCSS
$custom: #7e59f4;
$custom-light: #ac8af9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e59f4",
  "rgb": {
    "r": 126,
    "g": 89,
    "b": 244
  },
  "hsl": {
    "h": 254.323,
    "s": 87.571,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58794,
    "c": 0.22033,
    "h": 288.7
  },
  "luminance": 0.18112
}

Semantic roles & 50–950 ramp

primary
#7E59F4
secondary
#E2EFBA
accent
#E401AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E59F4

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

Preview Lab → · Contrast checker → · Palette generator →

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