#7E58FB#7E58FB

#7E58FB is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.2% C 0.230 H 288.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7E58FB
RGBrgb(126, 88, 251)
HSLhsl(254, 95%, 66%)
HSVhsv(254, 65%, 98%)
CMYKcmyk(49.8%, 64.9%, 0%, 1.6%)
CIE-LABlab(49.95, 54.26, -76.21)
CIE-LCHlch(49.95, 93.55, 305.45°)
OKLaboklab(59.19% 0.0709 -0.2186)
OKLCHoklch(59.19% 0.23 288)
XYZxyz(29.5014, 18.3787, 93.2411)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E58FB #D5FB58
analogous
#5884FB #7E58FB #D058FB
triadic
#7E58FB #FB7E58 #58FB7E
tetradic
#7E58FB #FB5884 #D5FB58 #58FBD0
square
#7E58FB #FB5884 #D5FB58 #58FBD0
split-complementary
#7E58FB #FBD058 #84FB58
monochromatic
#3505D4 #501CFA #7E58FB #AC94FC #DAD0FE

Accessibility & contrast

On white

4.49
#7E58FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7E58FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E58FB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E58FB#FFFFFF#000000##000000
##7E58FB1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0072F8
Tritanopia (blue-blind)
#5180A2
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e58fb;
/* rgb */ color: rgb(126, 88, 251);
/* oklch */ color: oklch(59.2% 0.230 288.0);
Tailwind
colors: {
  custom: {
    50: '#ad89fe',
    500: '#7e58fb',
    950: '#000000',
  },
}
SCSS
$custom: #7e58fb;
$custom-light: #ad89fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7e58fb",
  "rgb": {
    "r": 126,
    "g": 88,
    "b": 251
  },
  "hsl": {
    "h": 253.988,
    "s": 95.322,
    "l": 66.471
  },
  "oklch": {
    "l": 0.5919,
    "c": 0.22981,
    "h": 288
  },
  "luminance": 0.1838
}

Semantic roles & 50–950 ramp

primary
#7E58FB
secondary
#E6F2BD
accent
#E600B0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7E58FB

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

Preview Lab → · Contrast checker → · Palette generator →

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