#7E58BD#7E58BD

#7E58BD is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.8% C 0.154 H 298.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7E58BD
RGBrgb(126, 88, 189)
HSLhsl(263, 43%, 54%)
HSVhsv(263, 53%, 74%)
CMYKcmyk(33.3%, 53.4%, 0%, 25.9%)
CIE-LABlab(45.76, 37.41, -47.75)
CIE-LCHlch(45.76, 60.66, 308.07°)
OKLaboklab(54.79% 0.0735 -0.1349)
OKLCHoklch(54.79% 0.154 298.6)
XYZxyz(21.2770, 15.0890, 49.9257)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E58BD #97BD58
analogous
#5865BD #7E58BD #B158BD
triadic
#7E58BD #BD7E58 #58BD7E
tetradic
#7E58BD #BD5865 #97BD58 #58BDB1
square
#7E58BD #BD5865 #97BD58 #58BDB1
split-complementary
#7E58BD #BDB158 #65BD58
monochromatic
#452C6F #603D9B #7E58BD #A084CE #C2B0E0

Accessibility & contrast

On white

5.23
#7E58BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7E58BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E58BD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E58BD#FFFFFF#000000##FFFFFF
##7E58BD1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316CC0
Deuteranopia (green-blind)
#3C6BBB
Tritanopia (blue-blind)
#706C82
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7e58bd;
/* rgb */ color: rgb(126, 88, 189);
/* oklch */ color: oklch(54.8% 0.154 298.6);
Tailwind
colors: {
  custom: {
    50: '#a788d1',
    500: '#7e58bd',
    950: '#000000',
  },
}
SCSS
$custom: #7e58bd;
$custom-light: #a788d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e58bd",
  "rgb": {
    "r": 126,
    "g": 88,
    "b": 189
  },
  "hsl": {
    "h": 262.574,
    "s": 43.348,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54794,
    "c": 0.15365,
    "h": 298.6
  },
  "luminance": 0.15089
}

Semantic roles & 50–950 ramp

primary
#7E58BD
secondary
#BECEA3
accent
#D355A4
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7E58BD

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

Preview Lab → · Contrast checker → · Palette generator →

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