#7C58EA#7C58EA

#7C58EA is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.7% C 0.210 H 289.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7C58EA
RGBrgb(124, 88, 234)
HSLhsl(255, 78%, 63%)
HSVhsv(255, 62%, 92%)
CMYKcmyk(47%, 62.4%, 0%, 8.2%)
CIE-LABlab(48.52, 49.17, -69.04)
CIE-LCHlch(48.52, 84.76, 305.46°)
OKLaboklab(57.71% 0.0701 -0.1976)
OKLCHoklch(57.71% 0.21 289.5)
XYZxyz(26.6489, 17.2040, 79.7425)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C58EA #C6EA58
analogous
#587DEA #7C58EA #C558EA
triadic
#7C58EA #EA7C58 #58EA7C
tetradic
#7C58EA #EA587D #C6EA58 #58EAC5
square
#7C58EA #EA587D #C6EA58 #58EAC5
split-complementary
#7C58EA #EAC558 #7DEA58
monochromatic
#3D16B1 #5122E3 #7C58EA #A78EF1 #D1C5F8

Accessibility & contrast

On white

4.73
#7C58EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7C58EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C58EA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C58EA#FFFFFF#000000##FFFFFF
##7C58EA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#0070E7
Tritanopia (blue-blind)
#587B99
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7c58ea;
/* rgb */ color: rgb(124, 88, 234);
/* oklch */ color: oklch(57.7% 0.210 289.5);
Tailwind
colors: {
  custom: {
    50: '#aa89f2',
    500: '#7c58ea',
    950: '#000000',
  },
}
SCSS
$custom: #7c58ea;
$custom-light: #aa89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c58ea",
  "rgb": {
    "r": 124,
    "g": 88,
    "b": 234
  },
  "hsl": {
    "h": 254.795,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57714,
    "c": 0.20962,
    "h": 289.5
  },
  "luminance": 0.17205
}

Semantic roles & 50–950 ramp

primary
#7C58EA
secondary
#DCE9B5
accent
#DA0CA7
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C58EA

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

Preview Lab → · Contrast checker → · Palette generator →

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