#7E58E8#7E58E8

#7E58E8 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.7% C 0.207 H 290.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7E58E8
RGBrgb(126, 88, 232)
HSLhsl(256, 76%, 63%)
HSVhsv(256, 62%, 91%)
CMYKcmyk(45.7%, 62.1%, 0%, 9%)
CIE-LABlab(48.56, 49.00, -67.83)
CIE-LCHlch(48.56, 83.68, 305.84°)
OKLaboklab(57.75% 0.0728 -0.194)
OKLCHoklch(57.75% 0.207 290.6)
XYZxyz(26.6553, 17.2403, 78.2515)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E58E8 #C2E858
analogous
#587AE8 #7E58E8 #C658E8
triadic
#7E58E8 #E87E58 #58E87E
tetradic
#7E58E8 #E8587A #C2E858 #58E8C6
square
#7E58E8 #E8587A #C2E858 #58E8C6
split-complementary
#7E58E8 #E8C658 #7AE858
monochromatic
#3F18AE #5422E1 #7E58E8 #A88EEF #D1C4F7

Accessibility & contrast

On white

4.72
#7E58E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#7E58E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E58E8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E58E8#FFFFFF#000000##FFFFFF
##7E58E81.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#0070E5
Tritanopia (blue-blind)
#5D7A98
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e58e8;
/* rgb */ color: rgb(126, 88, 232);
/* oklch */ color: oklch(57.7% 0.207 290.6);
Tailwind
colors: {
  custom: {
    50: '#ab89f0',
    500: '#7e58e8',
    950: '#000000',
  },
}
SCSS
$custom: #7e58e8;
$custom-light: #ab89f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e58e8",
  "rgb": {
    "r": 126,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 255.833,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57747,
    "c": 0.20718,
    "h": 290.6
  },
  "luminance": 0.17241
}

Semantic roles & 50–950 ramp

primary
#7E58E8
secondary
#DAE8B4
accent
#D80EA3
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E58E8

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

Preview Lab → · Contrast checker → · Palette generator →

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