#7E58CE#7E58CE

#7E58CE is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.9% C 0.175 H 295.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7E58CE
RGBrgb(126, 88, 206)
HSLhsl(259, 55%, 58%)
HSVhsv(259, 57%, 81%)
CMYKcmyk(38.8%, 57.3%, 0%, 19.2%)
CIE-LABlab(46.80, 41.91, -55.88)
CIE-LCHlch(46.80, 69.85, 306.87°)
OKLaboklab(55.91% 0.0739 -0.1588)
OKLCHoklch(55.91% 0.175 295)
XYZxyz(23.2316, 15.8708, 60.2199)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E58CE #A8CE58
analogous
#586DCE #7E58CE #B958CE
triadic
#7E58CE #CE7E58 #58CE7E
tetradic
#7E58CE #CE586D #A8CE58 #58CEB9
square
#7E58CE #CE586D #A8CE58 #58CEB9
split-complementary
#7E58CE #CEB958 #6DCE58
monochromatic
#452785 #5E35B4 #7E58CE #A387DC #C7B7EA

Accessibility & contrast

On white

5.03
#7E58CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7E58CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E58CE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E58CE#FFFFFF#000000##FFFFFF
##7E58CE1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1670D2
Deuteranopia (green-blind)
#276DCB
Tritanopia (blue-blind)
#6A718A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7e58ce;
/* rgb */ color: rgb(126, 88, 206);
/* oklch */ color: oklch(55.9% 0.175 295.0);
Tailwind
colors: {
  custom: {
    50: '#a888de',
    500: '#7e58ce',
    950: '#000000',
  },
}
SCSS
$custom: #7e58ce;
$custom-light: #a888de;
$custom-dark: #000000;
JSON
{
  "hex": "#7e58ce",
  "rgb": {
    "r": 126,
    "g": 88,
    "b": 206
  },
  "hsl": {
    "h": 259.322,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55905,
    "c": 0.17518,
    "h": 295
  },
  "luminance": 0.15871
}

Semantic roles & 50–950 ramp

primary
#7E58CE
secondary
#C9D9A9
accent
#DE4AAE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7E58CE

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

Preview Lab → · Contrast checker → · Palette generator →

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