#7E58F7#7E58F7

#7E58F7 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.9% C 0.225 H 288.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7E58F7
RGBrgb(126, 88, 247)
HSLhsl(254, 91%, 66%)
HSVhsv(254, 64%, 97%)
CMYKcmyk(49%, 64.4%, 0%, 3.1%)
CIE-LABlab(49.65, 53.15, -74.47)
CIE-LCHlch(49.65, 91.49, 305.51°)
OKLaboklab(58.88% 0.0714 -0.2135)
OKLCHoklch(58.88% 0.225 288.5)
XYZxyz(28.8775, 18.1292, 89.9554)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E58F7 #D1F758
analogous
#5881F7 #7E58F7 #CE58F7
triadic
#7E58F7 #F77E58 #58F77E
tetradic
#7E58F7 #F75881 #D1F758 #58F7CE
square
#7E58F7 #F75881 #D1F758 #58F7CE
split-complementary
#7E58F7 #F7CE58 #81F758
monochromatic
#380ACB #511EF4 #7E58F7 #AB92FA #D8CDFD

Accessibility & contrast

On white

4.54
#7E58F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7E58F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E58F7
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E58F7#FFFFFF#000000##000000
##7E58F71.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FC
Deuteranopia (green-blind)
#0072F4
Tritanopia (blue-blind)
#547FA0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e58f7;
/* rgb */ color: rgb(126, 88, 247);
/* oklch */ color: oklch(58.9% 0.225 288.5);
Tailwind
colors: {
  custom: {
    50: '#ac89fb',
    500: '#7e58f7',
    950: '#000000',
  },
}
SCSS
$custom: #7e58f7;
$custom-light: #ac89fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e58f7",
  "rgb": {
    "r": 126,
    "g": 88,
    "b": 247
  },
  "hsl": {
    "h": 254.34,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.5888,
    "c": 0.22509,
    "h": 288.5
  },
  "luminance": 0.1813
}

Semantic roles & 50–950 ramp

primary
#7E58F7
secondary
#E3F0BB
accent
#E600AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7E58F7

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

Preview Lab → · Contrast checker → · Palette generator →

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