#7C59EB#7C59EB

#7C59EB is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 57.9% C 0.210 H 289.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7C59EB
RGBrgb(124, 89, 235)
HSLhsl(254, 78%, 64%)
HSVhsv(254, 62%, 92%)
CMYKcmyk(47.2%, 62.1%, 0%, 7.8%)
CIE-LABlab(48.79, 48.90, -69.15)
CIE-LCHlch(48.79, 84.69, 305.26°)
OKLaboklab(57.94% 0.069 -0.1979)
OKLCHoklch(57.94% 0.21 289.2)
XYZxyz(26.8757, 17.4269, 80.5288)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C59EB #C8EB59
analogous
#597FEB #7C59EB #C559EB
triadic
#7C59EB #EB7C59 #59EB7C
tetradic
#7C59EB #EB597F #C8EB59 #59EBC5
square
#7C59EB #EB597F #C8EB59 #59EBC5
split-complementary
#7C59EB #EBC559 #7FEB59
monochromatic
#3C16B4 #5122E4 #7C59EB #A790F2 #D2C6F8

Accessibility & contrast

On white

4.68
#7C59EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7C59EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C59EB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C59EB#FFFFFF#000000##FFFFFF
##7C59EB1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#0070E8
Tritanopia (blue-blind)
#587B9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7c59eb;
/* rgb */ color: rgb(124, 89, 235);
/* oklch */ color: oklch(57.9% 0.210 289.2);
Tailwind
colors: {
  custom: {
    50: '#aa8af2',
    500: '#7c59eb',
    950: '#000000',
  },
}
SCSS
$custom: #7c59eb;
$custom-light: #aa8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c59eb",
  "rgb": {
    "r": 124,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 254.384,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57938,
    "c": 0.20957,
    "h": 289.2
  },
  "luminance": 0.17428
}

Semantic roles & 50–950 ramp

primary
#7C59EB
secondary
#DDEAB6
accent
#DB0BA9
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C59EB

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

Preview Lab → · Contrast checker → · Palette generator →

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