#7E58DF#7E58DF

#7E58DF is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.1% C 0.196 H 292.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7E58DF
RGBrgb(126, 88, 223)
HSLhsl(257, 68%, 61%)
HSVhsv(257, 61%, 87%)
CMYKcmyk(43.5%, 60.5%, 0%, 12.5%)
CIE-LABlab(47.93, 46.52, -63.76)
CIE-LCHlch(47.93, 78.93, 306.12°)
OKLaboklab(57.09% 0.0734 -0.182)
OKLCHoklch(57.09% 0.196 292)
XYZxyz(25.4095, 16.7420, 71.6905)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E58DF #B9DF58
analogous
#5875DF #7E58DF #C158DF
triadic
#7E58DF #DF7E58 #58DF7E
tetradic
#7E58DF #DF5875 #B9DF58 #58DFC1
square
#7E58DF #DF5875 #B9DF58 #58DFC1
split-complementary
#7E58DF #DFC158 #75DF58
monochromatic
#421E9E #5828D2 #7E58DF #A68BE9 #CDBFF3

Accessibility & contrast

On white

4.83
#7E58DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7E58DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E58DF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E58DF#FFFFFF#000000##FFFFFF
##7E58DF1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#627793
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7e58df;
/* rgb */ color: rgb(126, 88, 223);
/* oklch */ color: oklch(57.1% 0.196 292.0);
Tailwind
colors: {
  custom: {
    50: '#aa89ea',
    500: '#7e58df',
    950: '#000000',
  },
}
SCSS
$custom: #7e58df;
$custom-light: #aa89ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7e58df",
  "rgb": {
    "r": 126,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 256.889,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57091,
    "c": 0.19623,
    "h": 292
  },
  "luminance": 0.16743
}

Semantic roles & 50–950 ramp

primary
#7E58DF
secondary
#D5E3B0
accent
#D0169B
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7E58DF

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

Preview Lab → · Contrast checker → · Palette generator →

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