#7E58EB#7E58EB

#7E58EB is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.0% C 0.211 H 290.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7E58EB
RGBrgb(126, 88, 235)
HSLhsl(256, 79%, 63%)
HSVhsv(256, 63%, 92%)
CMYKcmyk(46.4%, 62.6%, 0%, 7.8%)
CIE-LABlab(48.78, 49.83, -69.18)
CIE-LCHlch(48.78, 85.25, 305.76°)
OKLaboklab(57.97% 0.0726 -0.1979)
OKLCHoklch(57.97% 0.211 290.1)
XYZxyz(27.0851, 17.4122, 80.5149)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E58EB #C5EB58
analogous
#587BEB #7E58EB #C758EB
triadic
#7E58EB #EB7E58 #58EB7E
tetradic
#7E58EB #EB587B #C5EB58 #58EBC7
square
#7E58EB #EB587B #C5EB58 #58EBC7
split-complementary
#7E58EB #EBC758 #7BEB58
monochromatic
#3E15B3 #5421E4 #7E58EB #A88FF2 #D2C5F8

Accessibility & contrast

On white

4.68
#7E58EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7E58EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E58EB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E58EB#FFFFFF#000000##FFFFFF
##7E58EB1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#0070E8
Tritanopia (blue-blind)
#5C7B9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e58eb;
/* rgb */ color: rgb(126, 88, 235);
/* oklch */ color: oklch(58.0% 0.211 290.1);
Tailwind
colors: {
  custom: {
    50: '#ab89f2',
    500: '#7e58eb',
    950: '#000000',
  },
}
SCSS
$custom: #7e58eb;
$custom-light: #ab89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e58eb",
  "rgb": {
    "r": 126,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 255.51,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57969,
    "c": 0.21079,
    "h": 290.1
  },
  "luminance": 0.17413
}

Semantic roles & 50–950 ramp

primary
#7E58EB
secondary
#DCEAB5
accent
#DB0BA5
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E58EB

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

Preview Lab → · Contrast checker → · Palette generator →

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