#7D58CD#7D58CD

#7D58CD is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.7% C 0.174 H 294.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7D58CD
RGBrgb(125, 88, 205)
HSLhsl(259, 54%, 57%)
HSVhsv(259, 57%, 80%)
CMYKcmyk(39%, 57.1%, 0%, 19.6%)
CIE-LABlab(46.64, 41.41, -55.58)
CIE-LCHlch(46.64, 69.31, 306.69°)
OKLaboklab(55.74% 0.0726 -0.158)
OKLCHoklch(55.74% 0.174 294.7)
XYZxyz(22.9637, 15.7467, 59.5753)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D58CD #A8CD58
analogous
#586ECD #7D58CD #B758CD
triadic
#7D58CD #CD7D58 #58CD7D
tetradic
#7D58CD #CD586E #A8CD58 #58CDB7
square
#7D58CD #CD586E #A8CD58 #58CDB7
split-complementary
#7D58CD #CDB758 #6ECD58
monochromatic
#442783 #5D35B2 #7D58CD #A287DB #C6B6E9

Accessibility & contrast

On white

5.06
#7D58CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7D58CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D58CD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D58CD#FFFFFF#000000##FFFFFF
##7D58CD1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1870D1
Deuteranopia (green-blind)
#276DCA
Tritanopia (blue-blind)
#69718A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d58cd;
/* rgb */ color: rgb(125, 88, 205);
/* oklch */ color: oklch(55.7% 0.174 294.7);
Tailwind
colors: {
  custom: {
    50: '#a788dd',
    500: '#7d58cd',
    950: '#000000',
  },
}
SCSS
$custom: #7d58cd;
$custom-light: #a788dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d58cd",
  "rgb": {
    "r": 125,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 258.974,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5574,
    "c": 0.17385,
    "h": 294.7
  },
  "luminance": 0.15747
}

Semantic roles & 50–950 ramp

primary
#7D58CD
secondary
#C9D8A9
accent
#DD4BAF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D58CD

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

Preview Lab → · Contrast checker → · Palette generator →

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