#7C58EF#7C58EF

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

Color values

HEX#7C58EF
RGBrgb(124, 88, 239)
HSLhsl(254, 83%, 64%)
HSVhsv(254, 63%, 94%)
CMYKcmyk(48.1%, 63.2%, 0%, 6.3%)
CIE-LABlab(48.88, 50.56, -71.26)
CIE-LCHlch(48.88, 87.38, 305.36°)
OKLaboklab(58.09% 0.0696 -0.2041)
OKLCHoklch(58.09% 0.216 288.8)
XYZxyz(27.3774, 17.4954, 83.5790)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C58EF #CBEF58
analogous
#5880EF #7C58EF #C858EF
triadic
#7C58EF #EF7C58 #58EF7C
tetradic
#7C58EF #EF5880 #CBEF58 #58EFC8
square
#7C58EF #EF5880 #CBEF58 #58EFC8
split-complementary
#7C58EF #EFC858 #80EF58
monochromatic
#3A12BB #5020EA #7C58EF #A890F4 #D4C8FA

Accessibility & contrast

On white

4.67
#7C58EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C58EF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C58EF#FFFFFF#000000##FFFFFF
##7C58EF1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#0070EC
Tritanopia (blue-blind)
#557C9C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7c58ef;
/* rgb */ color: rgb(124, 88, 239);
/* oklch */ color: oklch(58.1% 0.216 288.8);
Tailwind
colors: {
  custom: {
    50: '#aa89f5',
    500: '#7c58ef',
    950: '#000000',
  },
}
SCSS
$custom: #7c58ef;
$custom-light: #aa89f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c58ef",
  "rgb": {
    "r": 124,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 254.305,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.5809,
    "c": 0.21565,
    "h": 288.8
  },
  "luminance": 0.17497
}

Semantic roles & 50–950 ramp

primary
#7C58EF
secondary
#DFECB7
accent
#DF07AB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C58EF

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

Preview Lab → · Contrast checker → · Palette generator →

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