#7C58DA#7C58DA

#7C58DA is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.5% C 0.190 H 292.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7C58DA
RGBrgb(124, 88, 218)
HSLhsl(257, 64%, 60%)
HSVhsv(257, 60%, 85%)
CMYKcmyk(43.1%, 59.6%, 0%, 14.5%)
CIE-LABlab(47.40, 44.74, -61.80)
CIE-LCHlch(47.40, 76.29, 305.90°)
OKLaboklab(56.55% 0.071 -0.1763)
OKLCHoklch(56.55% 0.19 292)
XYZxyz(24.4533, 16.3257, 68.1789)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C58DA #B6DA58
analogous
#5875DA #7C58DA #BD58DA
triadic
#7C58DA #DA7C58 #58DA7C
tetradic
#7C58DA #DA5875 #B6DA58 #58DABD
square
#7C58DA #DA5875 #B6DA58 #58DABD
split-complementary
#7C58DA #DABD58 #75DA58
monochromatic
#422196 #582CC8 #7C58DA #A38AE5 #CBBCF0

Accessibility & contrast

On white

4.92
#7C58DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#7C58DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C58DA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C58DA#FFFFFF#000000##FFFFFF
##7C58DA1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#006ED7
Tritanopia (blue-blind)
#617591
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7c58da;
/* rgb */ color: rgb(124, 88, 218);
/* oklch */ color: oklch(56.5% 0.190 292.0);
Tailwind
colors: {
  custom: {
    50: '#a889e6',
    500: '#7c58da',
    950: '#000000',
  },
}
SCSS
$custom: #7c58da;
$custom-light: #a889e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c58da",
  "rgb": {
    "r": 124,
    "g": 88,
    "b": 218
  },
  "hsl": {
    "h": 256.615,
    "s": 63.725,
    "l": 60
  },
  "oklch": {
    "l": 0.56546,
    "c": 0.19004,
    "h": 292
  },
  "luminance": 0.16326
}

Semantic roles & 50–950 ramp

primary
#7C58DA
secondary
#D2E0AE
accent
#E741B9
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7C58DA

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

Preview Lab → · Contrast checker → · Palette generator →

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