#7E58EE#7E58EE

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

Color values

HEX#7E58EE
RGBrgb(126, 88, 238)
HSLhsl(255, 82%, 64%)
HSVhsv(255, 63%, 93%)
CMYKcmyk(47.1%, 63%, 0%, 6.7%)
CIE-LABlab(48.99, 50.65, -70.51)
CIE-LCHlch(48.99, 86.82, 305.69°)
OKLaboklab(58.19% 0.0723 -0.2018)
OKLCHoklch(58.19% 0.214 289.7)
XYZxyz(27.5221, 17.5870, 82.8168)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E58EE #C8EE58
analogous
#587DEE #7E58EE #C958EE
triadic
#7E58EE #EE7E58 #58EE7E
tetradic
#7E58EE #EE587D #C8EE58 #58EEC9
square
#7E58EE #EE587D #C8EE58 #58EEC9
split-complementary
#7E58EE #EEC958 #7DEE58
monochromatic
#3D13B9 #5320E8 #7E58EE #A990F4 #D4C7F9

Accessibility & contrast

On white

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

On black

4.52
#7E58EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7E58EE#FFFFFF#000000##FFFFFF
##7E58EE1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F3
Deuteranopia (green-blind)
#0071EB
Tritanopia (blue-blind)
#5A7C9B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e58ee;
/* rgb */ color: rgb(126, 88, 238);
/* oklch */ color: oklch(58.2% 0.214 289.7);
Tailwind
colors: {
  custom: {
    50: '#ab89f4',
    500: '#7e58ee',
    950: '#000000',
  },
}
SCSS
$custom: #7e58ee;
$custom-light: #ab89f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e58ee",
  "rgb": {
    "r": 126,
    "g": 88,
    "b": 238
  },
  "hsl": {
    "h": 255.2,
    "s": 81.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58194,
    "c": 0.2144,
    "h": 289.7
  },
  "luminance": 0.17588
}

Semantic roles & 50–950 ramp

primary
#7E58EE
secondary
#DEEBB7
accent
#DE08A8
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E58EE

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

Preview Lab → · Contrast checker → · Palette generator →

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