#7D58EC#7D58EC

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

Color values

HEX#7D58EC
RGBrgb(125, 88, 236)
HSLhsl(255, 80%, 64%)
HSVhsv(255, 63%, 93%)
CMYKcmyk(47%, 62.7%, 0%, 7.5%)
CIE-LABlab(48.75, 49.91, -69.78)
CIE-LCHlch(48.75, 85.79, 305.58°)
OKLaboklab(57.95% 0.0712 -0.1997)
OKLCHoklch(57.95% 0.212 289.6)
XYZxyz(27.0832, 17.3945, 81.2711)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D58EC #C7EC58
analogous
#587DEC #7D58EC #C758EC
triadic
#7D58EC #EC7D58 #58EC7D
tetradic
#7D58EC #EC587D #C7EC58 #58ECC7
square
#7D58EC #EC587D #C7EC58 #58ECC7
split-complementary
#7D58EC #ECC758 #7DEC58
monochromatic
#3D15B5 #5221E6 #7D58EC #A88FF2 #D3C6F9

Accessibility & contrast

On white

4.69
#7D58EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7D58EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D58EC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D58EC#FFFFFF#000000##FFFFFF
##7D58EC1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#0070E9
Tritanopia (blue-blind)
#597B9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d58ec;
/* rgb */ color: rgb(125, 88, 236);
/* oklch */ color: oklch(58.0% 0.212 289.6);
Tailwind
colors: {
  custom: {
    50: '#ab89f3',
    500: '#7d58ec',
    950: '#000000',
  },
}
SCSS
$custom: #7d58ec;
$custom-light: #ab89f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d58ec",
  "rgb": {
    "r": 125,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 255,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57954,
    "c": 0.21202,
    "h": 289.6
  },
  "luminance": 0.17396
}

Semantic roles & 50–950 ramp

primary
#7D58EC
secondary
#DDEAB6
accent
#DC0AA7
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D58EC

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

Preview Lab → · Contrast checker → · Palette generator →

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