#7E58F5#7E58F5

#7E58F5 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.7% C 0.223 H 288.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7E58F5
RGBrgb(126, 88, 245)
HSLhsl(255, 89%, 65%)
HSVhsv(255, 64%, 96%)
CMYKcmyk(48.6%, 64.1%, 0%, 3.9%)
CIE-LABlab(49.50, 52.59, -73.60)
CIE-LCHlch(49.50, 90.46, 305.55°)
OKLaboklab(58.73% 0.0716 -0.2109)
OKLCHoklch(58.73% 0.223 288.8)
XYZxyz(28.5706, 18.0064, 88.3387)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E58F5 #CFF558
analogous
#5881F5 #7E58F5 #CC58F5
triadic
#7E58F5 #F57E58 #58F57E
tetradic
#7E58F5 #F55881 #CFF558 #58F5CC
square
#7E58F5 #F55881 #CFF558 #58F5CC
split-complementary
#7E58F5 #F5CC58 #81F558
monochromatic
#390CC7 #511EF2 #7E58F5 #AB92F8 #D7CBFC

Accessibility & contrast

On white

4.56
#7E58F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7E58F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E58F5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E58F5#FFFFFF#000000##000000
##7E58F51.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FA
Deuteranopia (green-blind)
#0072F2
Tritanopia (blue-blind)
#557E9F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e58f5;
/* rgb */ color: rgb(126, 88, 245);
/* oklch */ color: oklch(58.7% 0.223 288.8);
Tailwind
colors: {
  custom: {
    50: '#ac89f9',
    500: '#7e58f5',
    950: '#000000',
  },
}
SCSS
$custom: #7e58f5;
$custom-light: #ac89f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e58f5",
  "rgb": {
    "r": 126,
    "g": 88,
    "b": 245
  },
  "hsl": {
    "h": 254.522,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58726,
    "c": 0.22273,
    "h": 288.8
  },
  "luminance": 0.18008
}

Semantic roles & 50–950 ramp

primary
#7E58F5
secondary
#E2EFBA
accent
#E500AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E58F5

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

Preview Lab → · Contrast checker → · Palette generator →

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