#7E58E5#7E58E5

#7E58E5 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.5% C 0.204 H 291.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7E58E5
RGBrgb(126, 88, 229)
HSLhsl(256, 73%, 62%)
HSVhsv(256, 62%, 90%)
CMYKcmyk(45%, 61.6%, 0%, 10.2%)
CIE-LABlab(48.35, 48.17, -66.48)
CIE-LCHlch(48.35, 82.10, 305.93°)
OKLaboklab(57.53% 0.0731 -0.19)
OKLCHoklch(57.53% 0.204 291)
XYZxyz(26.2328, 17.0713, 76.0265)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E58E5 #BFE558
analogous
#5879E5 #7E58E5 #C458E5
triadic
#7E58E5 #E57E58 #58E57E
tetradic
#7E58E5 #E55879 #BFE558 #58E5C4
square
#7E58E5 #E55879 #BFE558 #58E5C4
split-complementary
#7E58E5 #E5C458 #79E558
monochromatic
#411AA8 #5523DD #7E58E5 #A78DED #D0C2F5

Accessibility & contrast

On white

4.76
#7E58E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7E58E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E58E5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E58E5#FFFFFF#000000##FFFFFF
##7E58E51.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#0070E2
Tritanopia (blue-blind)
#5F7996
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e58e5;
/* rgb */ color: rgb(126, 88, 229);
/* oklch */ color: oklch(57.5% 0.204 291.0);
Tailwind
colors: {
  custom: {
    50: '#aa89ee',
    500: '#7e58e5',
    950: '#000000',
  },
}
SCSS
$custom: #7e58e5;
$custom-light: #aa89ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7e58e5",
  "rgb": {
    "r": 126,
    "g": 88,
    "b": 229
  },
  "hsl": {
    "h": 256.17,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.57526,
    "c": 0.20355,
    "h": 291
  },
  "luminance": 0.17072
}

Semantic roles & 50–950 ramp

primary
#7E58E5
secondary
#D8E6B3
accent
#D510A0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7E58E5

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

Preview Lab → · Contrast checker → · Palette generator →

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