#7D58CE#7D58CE

#7D58CE is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.8% C 0.175 H 294.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7D58CE
RGBrgb(125, 88, 206)
HSLhsl(259, 55%, 58%)
HSVhsv(259, 57%, 81%)
CMYKcmyk(39.3%, 57.3%, 0%, 19.2%)
CIE-LABlab(46.70, 41.68, -56.05)
CIE-LCHlch(46.70, 69.85, 306.64°)
OKLaboklab(55.81% 0.0726 -0.1593)
OKLCHoklch(55.81% 0.175 294.5)
XYZxyz(23.0848, 15.7951, 60.2131)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D58CE #A9CE58
analogous
#586ECE #7D58CE #B858CE
triadic
#7D58CE #CE7D58 #58CE7D
tetradic
#7D58CE #CE586E #A9CE58 #58CEB8
square
#7D58CE #CE586E #A9CE58 #58CEB8
split-complementary
#7D58CE #CEB858 #6ECE58
monochromatic
#442785 #5D35B4 #7D58CE #A287DC #C7B7EA

Accessibility & contrast

On white

5.05
#7D58CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7D58CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D58CE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D58CE#FFFFFF#000000##FFFFFF
##7D58CE1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1570D2
Deuteranopia (green-blind)
#256DCB
Tritanopia (blue-blind)
#68718A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d58ce;
/* rgb */ color: rgb(125, 88, 206);
/* oklch */ color: oklch(55.8% 0.175 294.5);
Tailwind
colors: {
  custom: {
    50: '#a788de',
    500: '#7d58ce',
    950: '#000000',
  },
}
SCSS
$custom: #7d58ce;
$custom-light: #a788de;
$custom-dark: #000000;
JSON
{
  "hex": "#7d58ce",
  "rgb": {
    "r": 125,
    "g": 88,
    "b": 206
  },
  "hsl": {
    "h": 258.814,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55808,
    "c": 0.1751,
    "h": 294.5
  },
  "luminance": 0.15796
}

Semantic roles & 50–950 ramp

primary
#7D58CE
secondary
#CAD9A9
accent
#DE4AB0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D58CE

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

Preview Lab → · Contrast checker → · Palette generator →

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