#7D58DD#7D58DD

#7D58DD is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.9% C 0.194 H 291.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7D58DD
RGBrgb(125, 88, 221)
HSLhsl(257, 66%, 61%)
HSVhsv(257, 60%, 87%)
CMYKcmyk(43.4%, 60.2%, 0%, 13.3%)
CIE-LABlab(47.70, 45.77, -63.01)
CIE-LCHlch(47.70, 77.88, 305.99°)
OKLaboklab(56.85% 0.0722 -0.1798)
OKLCHoklch(56.85% 0.194 291.9)
XYZxyz(24.9947, 16.5591, 70.2719)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D58DD #B8DD58
analogous
#5875DD #7D58DD #C058DD
triadic
#7D58DD #DD7D58 #58DD7D
tetradic
#7D58DD #DD5875 #B8DD58 #58DDC0
square
#7D58DD #DD5875 #B8DD58 #58DDC0
split-complementary
#7D58DD #DDC058 #75DD58
monochromatic
#42209B #582ACE #7D58DD #A58BE7 #CCBEF2

Accessibility & contrast

On white

4.87
#7D58DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7D58DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D58DD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D58DD#FFFFFF#000000##FFFFFF
##7D58DD1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#006EDA
Tritanopia (blue-blind)
#617692
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d58dd;
/* rgb */ color: rgb(125, 88, 221);
/* oklch */ color: oklch(56.9% 0.194 291.9);
Tailwind
colors: {
  custom: {
    50: '#a989e8',
    500: '#7d58dd',
    950: '#000000',
  },
}
SCSS
$custom: #7d58dd;
$custom-light: #a989e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d58dd",
  "rgb": {
    "r": 125,
    "g": 88,
    "b": 221
  },
  "hsl": {
    "h": 256.692,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56854,
    "c": 0.19376,
    "h": 291.9
  },
  "luminance": 0.1656
}

Semantic roles & 50–950 ramp

primary
#7D58DD
secondary
#D4E2AF
accent
#CE179B
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7D58DD

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

Preview Lab → · Contrast checker → · Palette generator →

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