#7D58CF#7D58CF

#7D58CF is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.9% C 0.176 H 294.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7D58CF
RGBrgb(125, 88, 207)
HSLhsl(259, 55%, 58%)
HSVhsv(259, 57%, 81%)
CMYKcmyk(39.6%, 57.5%, 0%, 18.8%)
CIE-LABlab(46.77, 41.95, -56.52)
CIE-LCHlch(46.77, 70.39, 306.58°)
OKLaboklab(55.88% 0.0726 -0.1607)
OKLCHoklch(55.88% 0.176 294.3)
XYZxyz(23.2067, 15.8439, 60.8549)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D58CF #AACF58
analogous
#586FCF #7D58CF #B858CF
triadic
#7D58CF #CF7D58 #58CF7D
tetradic
#7D58CF #CF586F #AACF58 #58CFB8
square
#7D58CF #CF586F #AACF58 #58CFB8
split-complementary
#7D58CF #CFB858 #6FCF58
monochromatic
#442786 #5C34B6 #7D58CF #A288DD #C7B7EA

Accessibility & contrast

On white

5.04
#7D58CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7D58CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D58CF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D58CF#FFFFFF#000000##FFFFFF
##7D58CF1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1270D3
Deuteranopia (green-blind)
#236DCC
Tritanopia (blue-blind)
#68728B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d58cf;
/* rgb */ color: rgb(125, 88, 207);
/* oklch */ color: oklch(55.9% 0.176 294.3);
Tailwind
colors: {
  custom: {
    50: '#a888de',
    500: '#7d58cf',
    950: '#000000',
  },
}
SCSS
$custom: #7d58cf;
$custom-light: #a888de;
$custom-dark: #000000;
JSON
{
  "hex": "#7d58cf",
  "rgb": {
    "r": 125,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 258.655,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55876,
    "c": 0.17636,
    "h": 294.3
  },
  "luminance": 0.15844
}

Semantic roles & 50–950 ramp

primary
#7D58CF
secondary
#CAD9AA
accent
#DF49B0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D58CF

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

Preview Lab → · Contrast checker → · Palette generator →

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