#7E58DE#7E58DE

#7E58DE is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.0% C 0.195 H 292.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7E58DE
RGBrgb(126, 88, 222)
HSLhsl(257, 67%, 61%)
HSVhsv(257, 60%, 87%)
CMYKcmyk(43.2%, 60.4%, 0%, 12.9%)
CIE-LABlab(47.86, 46.25, -63.31)
CIE-LCHlch(47.86, 78.40, 306.15°)
OKLaboklab(57.02% 0.0735 -0.1806)
OKLCHoklch(57.02% 0.195 292.1)
XYZxyz(25.2751, 16.6882, 70.9825)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E58DE #B8DE58
analogous
#5875DE #7E58DE #C158DE
triadic
#7E58DE #DE7E58 #58DE7E
tetradic
#7E58DE #DE5875 #B8DE58 #58DEC1
square
#7E58DE #DE5875 #B8DE58 #58DEC1
split-complementary
#7E58DE #DEC158 #75DE58
monochromatic
#431F9D #5829D0 #7E58DE #A58BE8 #CDBEF2

Accessibility & contrast

On white

4.84
#7E58DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7E58DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E58DE
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E58DE#FFFFFF#000000##FFFFFF
##7E58DE1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#637693
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7e58de;
/* rgb */ color: rgb(126, 88, 222);
/* oklch */ color: oklch(57.0% 0.195 292.1);
Tailwind
colors: {
  custom: {
    50: '#aa89e9',
    500: '#7e58de',
    950: '#000000',
  },
}
SCSS
$custom: #7e58de;
$custom-light: #aa89e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e58de",
  "rgb": {
    "r": 126,
    "g": 88,
    "b": 222
  },
  "hsl": {
    "h": 257.015,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57019,
    "c": 0.19501,
    "h": 292.1
  },
  "luminance": 0.16689
}

Semantic roles & 50–950 ramp

primary
#7E58DE
secondary
#D4E2B0
accent
#CF179B
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7E58DE

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

Preview Lab → · Contrast checker → · Palette generator →

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