#7D58EB#7D58EB

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

Color values

HEX#7D58EB
RGBrgb(125, 88, 235)
HSLhsl(255, 79%, 63%)
HSVhsv(255, 63%, 92%)
CMYKcmyk(46.8%, 62.6%, 0%, 7.8%)
CIE-LABlab(48.68, 49.63, -69.33)
CIE-LCHlch(48.68, 85.27, 305.60°)
OKLaboklab(57.88% 0.0713 -0.1984)
OKLCHoklch(57.88% 0.211 289.8)
XYZxyz(26.9383, 17.3365, 80.5081)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D58EB #C6EB58
analogous
#587CEB #7D58EB #C658EB
triadic
#7D58EB #EB7D58 #58EB7D
tetradic
#7D58EB #EB587C #C6EB58 #58EBC6
square
#7D58EB #EB587C #C6EB58 #58EBC6
split-complementary
#7D58EB #EBC658 #7CEB58
monochromatic
#3D15B3 #5221E4 #7D58EB #A88FF2 #D2C5F8

Accessibility & contrast

On white

4.70
#7D58EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7D58EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D58EB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D58EB#FFFFFF#000000##FFFFFF
##7D58EB1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#0070E8
Tritanopia (blue-blind)
#5A7B9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d58eb;
/* rgb */ color: rgb(125, 88, 235);
/* oklch */ color: oklch(57.9% 0.211 289.8);
Tailwind
colors: {
  custom: {
    50: '#aa89f2',
    500: '#7d58eb',
    950: '#000000',
  },
}
SCSS
$custom: #7d58eb;
$custom-light: #aa89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d58eb",
  "rgb": {
    "r": 125,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 255.102,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57879,
    "c": 0.21081,
    "h": 289.8
  },
  "luminance": 0.17338
}

Semantic roles & 50–950 ramp

primary
#7D58EB
secondary
#DCEAB5
accent
#DB0BA6
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D58EB

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

Preview Lab → · Contrast checker → · Palette generator →

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