#7E58E9#7E58E9

#7E58E9 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.8% C 0.208 H 290.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7E58E9
RGBrgb(126, 88, 233)
HSLhsl(256, 77%, 63%)
HSVhsv(256, 62%, 91%)
CMYKcmyk(45.9%, 62.2%, 0%, 8.6%)
CIE-LABlab(48.63, 49.27, -68.28)
CIE-LCHlch(48.63, 84.20, 305.81°)
OKLaboklab(57.82% 0.0728 -0.1953)
OKLCHoklch(57.82% 0.208 290.4)
XYZxyz(26.7977, 17.2973, 79.0017)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E58E9 #C3E958
analogous
#587AE9 #7E58E9 #C658E9
triadic
#7E58E9 #E97E58 #58E97E
tetradic
#7E58E9 #E9587A #C3E958 #58E9C6
square
#7E58E9 #E9587A #C3E958 #58E9C6
split-complementary
#7E58E9 #E9C658 #7AE958
monochromatic
#3F17AF #5422E2 #7E58E9 #A88EF0 #D2C4F7

Accessibility & contrast

On white

4.71
#7E58E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7E58E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E58E9
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E58E9#FFFFFF#000000##FFFFFF
##7E58E91.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EE
Deuteranopia (green-blind)
#0070E6
Tritanopia (blue-blind)
#5D7A98
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e58e9;
/* rgb */ color: rgb(126, 88, 233);
/* oklch */ color: oklch(57.8% 0.208 290.4);
Tailwind
colors: {
  custom: {
    50: '#ab89f1',
    500: '#7e58e9',
    950: '#000000',
  },
}
SCSS
$custom: #7e58e9;
$custom-light: #ab89f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e58e9",
  "rgb": {
    "r": 126,
    "g": 88,
    "b": 233
  },
  "hsl": {
    "h": 255.724,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57821,
    "c": 0.20838,
    "h": 290.4
  },
  "luminance": 0.17298
}

Semantic roles & 50–950 ramp

primary
#7E58E9
secondary
#DBE8B4
accent
#D90DA3
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E58E9

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

Preview Lab → · Contrast checker → · Palette generator →

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