#7A59EB#7A59EB

#7A59EB is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.8% C 0.210 H 288.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7A59EB
RGBrgb(122, 89, 235)
HSLhsl(254, 78%, 64%)
HSVhsv(254, 62%, 92%)
CMYKcmyk(48.1%, 62.1%, 0%, 7.8%)
CIE-LABlab(48.61, 48.52, -69.46)
CIE-LCHlch(48.61, 84.73, 304.93°)
OKLaboklab(57.76% 0.0663 -0.1989)
OKLCHoklch(57.76% 0.21 288.4)
XYZxyz(26.5895, 17.2794, 80.5154)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A59EB #CAEB59
analogous
#5981EB #7A59EB #C359EB
triadic
#7A59EB #EB7A59 #59EB7A
tetradic
#7A59EB #EB5981 #CAEB59 #59EBC3
square
#7A59EB #EB5981 #CAEB59 #59EBC3
split-complementary
#7A59EB #EBC359 #81EB59
monochromatic
#3916B4 #4E22E4 #7A59EB #A690F2 #D2C6F8

Accessibility & contrast

On white

4.71
#7A59EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7A59EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A59EB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A59EB#FFFFFF#000000##FFFFFF
##7A59EB1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#0070E8
Tritanopia (blue-blind)
#547C9A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a59eb;
/* rgb */ color: rgb(122, 89, 235);
/* oklch */ color: oklch(57.8% 0.210 288.4);
Tailwind
colors: {
  custom: {
    50: '#a989f2',
    500: '#7a59eb',
    950: '#000000',
  },
}
SCSS
$custom: #7a59eb;
$custom-light: #a989f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a59eb",
  "rgb": {
    "r": 122,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 253.562,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57761,
    "c": 0.20964,
    "h": 288.4
  },
  "luminance": 0.1728
}

Semantic roles & 50–950 ramp

primary
#7A59EB
secondary
#DEEAB6
accent
#DB0BAC
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A59EB

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

Preview Lab → · Contrast checker → · Palette generator →

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