#7C59EF#7C59EF

#7C59EF is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.2% C 0.214 H 288.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7C59EF
RGBrgb(124, 89, 239)
HSLhsl(254, 82%, 64%)
HSVhsv(254, 63%, 94%)
CMYKcmyk(48.1%, 62.8%, 0%, 6.3%)
CIE-LABlab(49.08, 50.01, -70.93)
CIE-LCHlch(49.08, 86.79, 305.19°)
OKLaboklab(58.24% 0.0686 -0.2031)
OKLCHoklch(58.24% 0.214 288.7)
XYZxyz(27.4600, 17.6607, 83.6066)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C59EF #CCEF59
analogous
#5981EF #7C59EF #C759EF
triadic
#7C59EF #EF7C59 #59EF7C
tetradic
#7C59EF #EF5981 #CCEF59 #59EFC7
square
#7C59EF #EF5981 #CCEF59 #59EFC7
split-complementary
#7C59EF #EFC759 #81EF59
monochromatic
#3A12BC #5021EA #7C59EF #A891F4 #D4C9FA

Accessibility & contrast

On white

4.63
#7C59EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7C59EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7C59EF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C59EF#FFFFFF#000000##FFFFFF
##7C59EF1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#0071EC
Tritanopia (blue-blind)
#557D9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7c59ef;
/* rgb */ color: rgb(124, 89, 239);
/* oklch */ color: oklch(58.2% 0.214 288.7);
Tailwind
colors: {
  custom: {
    50: '#aa8af5',
    500: '#7c59ef',
    950: '#000000',
  },
}
SCSS
$custom: #7c59ef;
$custom-light: #aa8af5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c59ef",
  "rgb": {
    "r": 124,
    "g": 89,
    "b": 239
  },
  "hsl": {
    "h": 254,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58238,
    "c": 0.2144,
    "h": 288.7
  },
  "luminance": 0.17662
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C59EF

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

Preview Lab → · Contrast checker → · Palette generator →

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