#7E58F0#7E58F0

#7E58F0 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.3% C 0.217 H 289.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7E58F0
RGBrgb(126, 88, 240)
HSLhsl(255, 84%, 64%)
HSVhsv(255, 63%, 94%)
CMYKcmyk(47.5%, 63.3%, 0%, 5.9%)
CIE-LABlab(49.14, 51.21, -71.40)
CIE-LCHlch(49.14, 87.86, 305.65°)
OKLaboklab(58.35% 0.0721 -0.2044)
OKLCHoklch(58.35% 0.217 289.4)
XYZxyz(27.8176, 17.7052, 84.3729)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E58F0 #CAF058
analogous
#587EF0 #7E58F0 #CA58F0
triadic
#7E58F0 #F07E58 #58F07E
tetradic
#7E58F0 #F0587E #CAF058 #58F0CA
square
#7E58F0 #F0587E #CAF058 #58F0CA
split-complementary
#7E58F0 #F0CA58 #7EF058
monochromatic
#3C11BD #5320EB #7E58F0 #A990F5 #D5C8FA

Accessibility & contrast

On white

4.62
#7E58F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7E58F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E58F0
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E58F0#FFFFFF#000000##FFFFFF
##7E58F01.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F5
Deuteranopia (green-blind)
#0071ED
Tritanopia (blue-blind)
#587C9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e58f0;
/* rgb */ color: rgb(126, 88, 240);
/* oklch */ color: oklch(58.3% 0.217 289.4);
Tailwind
colors: {
  custom: {
    50: '#ac89f6',
    500: '#7e58f0',
    950: '#000000',
  },
}
SCSS
$custom: #7e58f0;
$custom-light: #ac89f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e58f0",
  "rgb": {
    "r": 126,
    "g": 88,
    "b": 240
  },
  "hsl": {
    "h": 255,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58345,
    "c": 0.21678,
    "h": 289.4
  },
  "luminance": 0.17706
}

Semantic roles & 50–950 ramp

primary
#7E58F0
secondary
#DFECB8
accent
#E006A9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E58F0

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

Preview Lab → · Contrast checker → · Palette generator →

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