#7C58EB#7C58EB

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

Color values

HEX#7C58EB
RGBrgb(124, 88, 235)
HSLhsl(255, 79%, 63%)
HSVhsv(255, 63%, 92%)
CMYKcmyk(47.2%, 62.6%, 0%, 7.8%)
CIE-LABlab(48.59, 49.45, -69.49)
CIE-LCHlch(48.59, 85.28, 305.43°)
OKLaboklab(57.79% 0.07 -0.1989)
OKLCHoklch(57.79% 0.211 289.4)
XYZxyz(26.7930, 17.2616, 80.5013)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C58EB #C7EB58
analogous
#587DEB #7C58EB #C558EB
triadic
#7C58EB #EB7C58 #58EB7C
tetradic
#7C58EB #EB587D #C7EB58 #58EBC5
square
#7C58EB #EB587D #C7EB58 #58EBC5
split-complementary
#7C58EB #EBC558 #7DEB58
monochromatic
#3C15B3 #5121E4 #7C58EB #A78FF2 #D2C5F8

Accessibility & contrast

On white

4.72
#7C58EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#7C58EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C58EB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C58EB#FFFFFF#000000##FFFFFF
##7C58EB1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c58eb;
/* rgb */ color: rgb(124, 88, 235);
/* oklch */ color: oklch(57.8% 0.211 289.4);
Tailwind
colors: {
  custom: {
    50: '#aa89f2',
    500: '#7c58eb',
    950: '#000000',
  },
}
SCSS
$custom: #7c58eb;
$custom-light: #aa89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c58eb",
  "rgb": {
    "r": 124,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 254.694,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57789,
    "c": 0.21083,
    "h": 289.4
  },
  "luminance": 0.17263
}

Semantic roles & 50–950 ramp

primary
#7C58EB
secondary
#DDEAB5
accent
#DB0BA8
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C58EB

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

Preview Lab → · Contrast checker → · Palette generator →

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