#7D58D0#7D58D0

#7D58D0 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.9% C 0.178 H 294.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7D58D0
RGBrgb(125, 88, 208)
HSLhsl(259, 56%, 58%)
HSVhsv(259, 58%, 82%)
CMYKcmyk(39.9%, 57.7%, 0%, 18.4%)
CIE-LABlab(46.83, 42.22, -56.99)
CIE-LCHlch(46.83, 70.93, 306.53°)
OKLaboklab(55.94% 0.0726 -0.1621)
OKLCHoklch(55.94% 0.178 294.1)
XYZxyz(23.3293, 15.8929, 61.5008)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D58D0 #ABD058
analogous
#586FD0 #7D58D0 #B958D0
triadic
#7D58D0 #D07D58 #58D07D
tetradic
#7D58D0 #D0586F #ABD058 #58D0B9
square
#7D58D0 #D0586F #ABD058 #58D0B9
split-complementary
#7D58D0 #D0B958 #6FD058
monochromatic
#442687 #5C34B7 #7D58D0 #A288DD #C7B8EB

Accessibility & contrast

On white

5.03
#7D58D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7D58D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D58D0
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D58D0#FFFFFF#000000##FFFFFF
##7D58D01.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F70D4
Deuteranopia (green-blind)
#216DCD
Tritanopia (blue-blind)
#68728B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d58d0;
/* rgb */ color: rgb(125, 88, 208);
/* oklch */ color: oklch(55.9% 0.178 294.1);
Tailwind
colors: {
  custom: {
    50: '#a888df',
    500: '#7d58d0',
    950: '#000000',
  },
}
SCSS
$custom: #7d58d0;
$custom-light: #a888df;
$custom-dark: #000000;
JSON
{
  "hex": "#7d58d0",
  "rgb": {
    "r": 125,
    "g": 88,
    "b": 208
  },
  "hsl": {
    "h": 258.5,
    "s": 56.075,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55944,
    "c": 0.17762,
    "h": 294.1
  },
  "luminance": 0.15893
}

Semantic roles & 50–950 ramp

primary
#7D58D0
secondary
#CBDAAA
accent
#DF48B1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D58D0

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

Preview Lab → · Contrast checker → · Palette generator →

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