#7E58EF#7E58EF

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

Color values

HEX#7E58EF
RGBrgb(126, 88, 239)
HSLhsl(255, 83%, 64%)
HSVhsv(255, 63%, 94%)
CMYKcmyk(47.3%, 63.2%, 0%, 6.3%)
CIE-LABlab(49.06, 50.93, -70.95)
CIE-LCHlch(49.06, 87.34, 305.67°)
OKLaboklab(58.27% 0.0722 -0.2031)
OKLCHoklch(58.27% 0.216 289.6)
XYZxyz(27.6694, 17.6460, 83.5927)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E58EF #C9EF58
analogous
#587EEF #7E58EF #C958EF
triadic
#7E58EF #EF7E58 #58EF7E
tetradic
#7E58EF #EF587E #C9EF58 #58EFC9
square
#7E58EF #EF587E #C9EF58 #58EFC9
split-complementary
#7E58EF #EFC958 #7EEF58
monochromatic
#3C12BB #5320EA #7E58EF #A990F4 #D4C8FA

Accessibility & contrast

On white

4.64
#7E58EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7E58EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E58EF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E58EF#FFFFFF#000000##FFFFFF
##7E58EF1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#0071EC
Tritanopia (blue-blind)
#597C9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e58ef;
/* rgb */ color: rgb(126, 88, 239);
/* oklch */ color: oklch(58.3% 0.216 289.6);
Tailwind
colors: {
  custom: {
    50: '#ac89f5',
    500: '#7e58ef',
    950: '#000000',
  },
}
SCSS
$custom: #7e58ef;
$custom-light: #ac89f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e58ef",
  "rgb": {
    "r": 126,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 255.099,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58269,
    "c": 0.21559,
    "h": 289.6
  },
  "luminance": 0.17647
}

Semantic roles & 50–950 ramp

primary
#7E58EF
secondary
#DEECB7
accent
#DF07A8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E58EF

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

Preview Lab → · Contrast checker → · Palette generator →

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