#7A59EF#7A59EF

#7A59EF is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.1% C 0.214 H 287.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7A59EF
RGBrgb(122, 89, 239)
HSLhsl(253, 82%, 64%)
HSVhsv(253, 63%, 94%)
CMYKcmyk(49%, 62.8%, 0%, 6.3%)
CIE-LABlab(48.90, 49.65, -71.24)
CIE-LCHlch(48.90, 86.83, 304.87°)
OKLaboklab(58.06% 0.066 -0.2041)
OKLCHoklch(58.06% 0.215 287.9)
XYZxyz(27.1739, 17.5131, 83.5932)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A59EF #CEEF59
analogous
#5983EF #7A59EF #C559EF
triadic
#7A59EF #EF7A59 #59EF7A
tetradic
#7A59EF #EF5983 #CEEF59 #59EFC5
square
#7A59EF #EF5983 #CEEF59 #59EFC5
split-complementary
#7A59EF #EFC559 #83EF59
monochromatic
#3712BC #4D21EA #7A59EF #A791F4 #D3C9FA

Accessibility & contrast

On white

4.66
#7A59EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7A59EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A59EF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A59EF#FFFFFF#000000##FFFFFF
##7A59EF1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#0070EC
Tritanopia (blue-blind)
#517D9C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a59ef;
/* rgb */ color: rgb(122, 89, 239);
/* oklch */ color: oklch(58.1% 0.214 287.9);
Tailwind
colors: {
  custom: {
    50: '#a989f5',
    500: '#7a59ef',
    950: '#000000',
  },
}
SCSS
$custom: #7a59ef;
$custom-light: #a989f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a59ef",
  "rgb": {
    "r": 122,
    "g": 89,
    "b": 239
  },
  "hsl": {
    "h": 253.2,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58063,
    "c": 0.2145,
    "h": 287.9
  },
  "luminance": 0.17514
}

Semantic roles & 50–950 ramp

primary
#7A59EF
secondary
#E0ECB8
accent
#DF07AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A59EF

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

Preview Lab → · Contrast checker → · Palette generator →

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