#7D58EF#7D58EF

#7D58EF is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.2% C 0.216 H 289.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7D58EF
RGBrgb(125, 88, 239)
HSLhsl(255, 83%, 64%)
HSVhsv(255, 63%, 94%)
CMYKcmyk(47.7%, 63.2%, 0%, 6.3%)
CIE-LABlab(48.97, 50.75, -71.11)
CIE-LCHlch(48.97, 87.36, 305.51°)
OKLaboklab(58.18% 0.0709 -0.2036)
OKLCHoklch(58.18% 0.216 289.2)
XYZxyz(27.5227, 17.5703, 83.5858)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D58EF #CAEF58
analogous
#587FEF #7D58EF #C958EF
triadic
#7D58EF #EF7D58 #58EF7D
tetradic
#7D58EF #EF587F #CAEF58 #58EFC9
square
#7D58EF #EF587F #CAEF58 #58EFC9
split-complementary
#7D58EF #EFC958 #7FEF58
monochromatic
#3B12BB #5220EA #7D58EF #A890F4 #D4C8FA

Accessibility & contrast

On white

4.65
#7D58EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#7D58EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D58EF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D58EF#FFFFFF#000000##FFFFFF
##7D58EF1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#0071EC
Tritanopia (blue-blind)
#577C9C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d58ef;
/* rgb */ color: rgb(125, 88, 239);
/* oklch */ color: oklch(58.2% 0.216 289.2);
Tailwind
colors: {
  custom: {
    50: '#ab89f5',
    500: '#7d58ef',
    950: '#000000',
  },
}
SCSS
$custom: #7d58ef;
$custom-light: #ab89f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d58ef",
  "rgb": {
    "r": 125,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 254.702,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.5818,
    "c": 0.21561,
    "h": 289.2
  },
  "luminance": 0.17571
}

Semantic roles & 50–950 ramp

primary
#7D58EF
secondary
#DFECB7
accent
#DF07AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D58EF

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

Preview Lab → · Contrast checker → · Palette generator →

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