#7E58FD#7E58FD

#7E58FD is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.3% C 0.232 H 287.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7E58FD
RGBrgb(126, 88, 253)
HSLhsl(254, 98%, 67%)
HSVhsv(254, 65%, 99%)
CMYKcmyk(50.2%, 65.2%, 0%, 0.8%)
CIE-LABlab(50.10, 54.81, -77.08)
CIE-LCHlch(50.10, 94.58, 305.42°)
OKLaboklab(59.35% 0.0707 -0.2211)
OKLCHoklch(59.35% 0.232 287.7)
XYZxyz(29.8183, 18.5055, 94.9102)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E58FD #D7FD58
analogous
#5885FD #7E58FD #D058FD
triadic
#7E58FD #FD7E58 #58FD7E
tetradic
#7E58FD #FD5885 #D7FD58 #58FDD0
square
#7E58FD #FD5885 #D7FD58 #58FDD0
split-complementary
#7E58FD #FDD058 #85FD58
monochromatic
#3403D8 #4F1CFC #7E58FD #AD94FE #DBD1FE

Accessibility & contrast

On white

4.47
#7E58FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#7E58FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E58FD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E58FD#FFFFFF#000000##000000
##7E58FD1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#0073FA
Tritanopia (blue-blind)
#4F81A3
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e58fd;
/* rgb */ color: rgb(126, 88, 253);
/* oklch */ color: oklch(59.3% 0.232 287.7);
Tailwind
colors: {
  custom: {
    50: '#ad89ff',
    500: '#7e58fd',
    950: '#000000',
  },
}
SCSS
$custom: #7e58fd;
$custom-light: #ad89ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e58fd",
  "rgb": {
    "r": 126,
    "g": 88,
    "b": 253
  },
  "hsl": {
    "h": 253.818,
    "s": 97.633,
    "l": 66.863
  },
  "oklch": {
    "l": 0.59346,
    "c": 0.23215,
    "h": 287.7
  },
  "luminance": 0.18507
}

Semantic roles & 50–950 ramp

primary
#7E58FD
secondary
#E7F3BE
accent
#E600B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7E58FD

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

Preview Lab → · Contrast checker → · Palette generator →

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