#7D58DC#7D58DC

#7D58DC is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.8% C 0.193 H 292.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7D58DC
RGBrgb(125, 88, 220)
HSLhsl(257, 65%, 60%)
HSVhsv(257, 60%, 86%)
CMYKcmyk(43.2%, 60%, 0%, 13.7%)
CIE-LABlab(47.63, 45.49, -62.55)
CIE-LCHlch(47.63, 77.35, 306.03°)
OKLaboklab(56.78% 0.0723 -0.1785)
OKLCHoklch(56.78% 0.193 292)
XYZxyz(24.8619, 16.5060, 69.5723)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D58DC #B7DC58
analogous
#5875DC #7D58DC #BF58DC
triadic
#7D58DC #DC7D58 #58DC7D
tetradic
#7D58DC #DC5875 #B7DC58 #58DCBF
square
#7D58DC #DC5875 #B7DC58 #58DCBF
split-complementary
#7D58DC #DCBF58 #75DC58
monochromatic
#422099 #582BCC #7D58DC #A48BE7 #CCBDF1

Accessibility & contrast

On white

4.88
#7D58DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7D58DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D58DC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D58DC#FFFFFF#000000##FFFFFF
##7D58DC1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#627692
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d58dc;
/* rgb */ color: rgb(125, 88, 220);
/* oklch */ color: oklch(56.8% 0.193 292.0);
Tailwind
colors: {
  custom: {
    50: '#a989e8',
    500: '#7d58dc',
    950: '#000000',
  },
}
SCSS
$custom: #7d58dc;
$custom-light: #a989e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d58dc",
  "rgb": {
    "r": 125,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 256.818,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56782,
    "c": 0.19253,
    "h": 292
  },
  "luminance": 0.16507
}

Semantic roles & 50–950 ramp

primary
#7D58DC
secondary
#D3E1AF
accent
#CD189A
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7D58DC

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

Preview Lab → · Contrast checker → · Palette generator →

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