#7E59F2#7E59F2

#7E59F2 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.6% C 0.218 H 289.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7E59F2
RGBrgb(126, 89, 242)
HSLhsl(255, 85%, 65%)
HSVhsv(255, 63%, 95%)
CMYKcmyk(47.9%, 63.2%, 0%, 5.1%)
CIE-LABlab(49.48, 51.22, -71.95)
CIE-LCHlch(49.48, 88.32, 305.45°)
OKLaboklab(58.64% 0.071 -0.2061)
OKLCHoklch(58.64% 0.218 289)
XYZxyz(28.1990, 17.9900, 85.9738)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E59F2 #CDF259
analogous
#5980F2 #7E59F2 #CB59F2
triadic
#7E59F2 #F27E59 #59F27E
tetradic
#7E59F2 #F25980 #CDF259 #59F2CB
square
#7E59F2 #F25980 #CDF259 #59F2CB
split-complementary
#7E59F2 #F2CB59 #80F259
monochromatic
#3A0FC1 #5220EE #7E59F2 #AA92F6 #D6CBFB

Accessibility & contrast

On white

4.57
#7E59F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7E59F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E59F2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E59F2#FFFFFF#000000##000000
##7E59F21.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F7
Deuteranopia (green-blind)
#0072EF
Tritanopia (blue-blind)
#577E9E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e59f2;
/* rgb */ color: rgb(126, 89, 242);
/* oklch */ color: oklch(58.6% 0.218 289.0);
Tailwind
colors: {
  custom: {
    50: '#ac8af7',
    500: '#7e59f2',
    950: '#000000',
  },
}
SCSS
$custom: #7e59f2;
$custom-light: #ac8af7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e59f2",
  "rgb": {
    "r": 126,
    "g": 89,
    "b": 242
  },
  "hsl": {
    "h": 254.51,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58642,
    "c": 0.21794,
    "h": 289
  },
  "luminance": 0.17991
}

Semantic roles & 50–950 ramp

primary
#7E59F2
secondary
#E1EDB9
accent
#E204AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E59F2

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

Preview Lab → · Contrast checker → · Palette generator →

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