#7E59F7#7E59F7

#7E59F7 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.0% C 0.224 H 288.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7E59F7
RGBrgb(126, 89, 247)
HSLhsl(254, 91%, 66%)
HSVhsv(254, 64%, 97%)
CMYKcmyk(49%, 64%, 0%, 3.1%)
CIE-LABlab(49.85, 52.61, -74.15)
CIE-LCHlch(49.85, 90.92, 305.36°)
OKLaboklab(59.02% 0.0704 -0.2125)
OKLCHoklch(59.02% 0.224 288.3)
XYZxyz(28.9602, 18.2945, 89.9829)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E59F7 #D2F759
analogous
#5983F7 #7E59F7 #CD59F7
triadic
#7E59F7 #F77E59 #59F77E
tetradic
#7E59F7 #F75983 #D2F759 #59F7CD
square
#7E59F7 #F75983 #D2F759 #59F7CD
split-complementary
#7E59F7 #F7CD59 #83F759
monochromatic
#370ACC #511FF4 #7E59F7 #AB93FA #D9CEFD

Accessibility & contrast

On white

4.51
#7E59F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7E59F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E59F7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E59F7#FFFFFF#000000##000000
##7E59F71.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFC
Deuteranopia (green-blind)
#0072F4
Tritanopia (blue-blind)
#547FA0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e59f7;
/* rgb */ color: rgb(126, 89, 247);
/* oklch */ color: oklch(59.0% 0.224 288.3);
Tailwind
colors: {
  custom: {
    50: '#ac8afb',
    500: '#7e59f7',
    950: '#000000',
  },
}
SCSS
$custom: #7e59f7;
$custom-light: #ac8afb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e59f7",
  "rgb": {
    "r": 126,
    "g": 89,
    "b": 247
  },
  "hsl": {
    "h": 254.051,
    "s": 90.805,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59024,
    "c": 0.22389,
    "h": 288.3
  },
  "luminance": 0.18296
}

Semantic roles & 50–950 ramp

primary
#7E59F7
secondary
#E4F0BC
accent
#E600B0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7E59F7

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

Preview Lab → · Contrast checker → · Palette generator →

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