#7E58CF#7E58CF

#7E58CF is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.0% C 0.176 H 294.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7E58CF
RGBrgb(126, 88, 207)
HSLhsl(259, 55%, 58%)
HSVhsv(259, 57%, 81%)
CMYKcmyk(39.1%, 57.5%, 0%, 18.8%)
CIE-LABlab(46.87, 42.18, -56.36)
CIE-LCHlch(46.87, 70.39, 306.81°)
OKLaboklab(55.97% 0.0739 -0.1602)
OKLCHoklch(55.97% 0.176 294.8)
XYZxyz(23.3534, 15.9196, 60.8618)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E58CF #A9CF58
analogous
#586DCF #7E58CF #BA58CF
triadic
#7E58CF #CF7E58 #58CF7E
tetradic
#7E58CF #CF586D #A9CF58 #58CFBA
square
#7E58CF #CF586D #A9CF58 #58CFBA
split-complementary
#7E58CF #CFBA58 #6DCF58
monochromatic
#452786 #5E34B6 #7E58CF #A388DD #C7B7EA

Accessibility & contrast

On white

5.02
#7E58CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7E58CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E58CF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E58CF#FFFFFF#000000##FFFFFF
##7E58CF1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1370D3
Deuteranopia (green-blind)
#256DCC
Tritanopia (blue-blind)
#6A718B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7e58cf;
/* rgb */ color: rgb(126, 88, 207);
/* oklch */ color: oklch(56.0% 0.176 294.8);
Tailwind
colors: {
  custom: {
    50: '#a888de',
    500: '#7e58cf',
    950: '#000000',
  },
}
SCSS
$custom: #7e58cf;
$custom-light: #a888de;
$custom-dark: #000000;
JSON
{
  "hex": "#7e58cf",
  "rgb": {
    "r": 126,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 259.16,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55973,
    "c": 0.17643,
    "h": 294.8
  },
  "luminance": 0.1592
}

Semantic roles & 50–950 ramp

primary
#7E58CF
secondary
#CAD9AA
accent
#DF49AF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7E58CF

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

Preview Lab → · Contrast checker → · Palette generator →

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