#7C58EE#7C58EE

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

Color values

HEX#7C58EE
RGBrgb(124, 88, 238)
HSLhsl(254, 82%, 64%)
HSVhsv(254, 63%, 93%)
CMYKcmyk(47.9%, 63%, 0%, 6.7%)
CIE-LABlab(48.81, 50.28, -70.82)
CIE-LCHlch(48.81, 86.86, 305.37°)
OKLaboklab(58.02% 0.0697 -0.2028)
OKLCHoklch(58.02% 0.214 289)
XYZxyz(27.2301, 17.4364, 82.8031)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C58EE #CAEE58
analogous
#587FEE #7C58EE #C758EE
triadic
#7C58EE #EE7C58 #58EE7C
tetradic
#7C58EE #EE587F #CAEE58 #58EEC7
square
#7C58EE #EE587F #CAEE58 #58EEC7
split-complementary
#7C58EE #EEC758 #7FEE58
monochromatic
#3B13B9 #5020E8 #7C58EE #A890F4 #D3C7F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C58EE#FFFFFF#000000##FFFFFF
##7C58EE1.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)
#0077F3
Deuteranopia (green-blind)
#0070EB
Tritanopia (blue-blind)
#567C9B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7c58ee;
/* rgb */ color: rgb(124, 88, 238);
/* oklch */ color: oklch(58.0% 0.214 289.0);
Tailwind
colors: {
  custom: {
    50: '#aa89f5',
    500: '#7c58ee',
    950: '#000000',
  },
}
SCSS
$custom: #7c58ee;
$custom-light: #aa89f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c58ee",
  "rgb": {
    "r": 124,
    "g": 88,
    "b": 238
  },
  "hsl": {
    "h": 254.4,
    "s": 81.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58015,
    "c": 0.21444,
    "h": 289
  },
  "luminance": 0.17438
}

Semantic roles & 50–950 ramp

primary
#7C58EE
secondary
#DFEBB7
accent
#DE08AA
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C58EE

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

Preview Lab → · Contrast checker → · Palette generator →

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