#7E58EA#7E58EA

#7E58EA is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 57.9% C 0.210 H 290.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7E58EA
RGBrgb(126, 88, 234)
HSLhsl(256, 78%, 63%)
HSVhsv(256, 62%, 92%)
CMYKcmyk(46.2%, 62.4%, 0%, 8.2%)
CIE-LABlab(48.70, 49.55, -68.73)
CIE-LCHlch(48.70, 84.73, 305.79°)
OKLaboklab(57.9% 0.0727 -0.1966)
OKLCHoklch(57.9% 0.21 290.3)
XYZxyz(26.9410, 17.3546, 79.7562)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E58EA #C4EA58
analogous
#587BEA #7E58EA #C758EA
triadic
#7E58EA #EA7E58 #58EA7E
tetradic
#7E58EA #EA587B #C4EA58 #58EAC7
square
#7E58EA #EA587B #C4EA58 #58EAC7
split-complementary
#7E58EA #EAC758 #7BEA58
monochromatic
#3F16B1 #5422E3 #7E58EA #A88EF1 #D2C5F8

Accessibility & contrast

On white

4.70
#7E58EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7E58EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E58EA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E58EA#FFFFFF#000000##FFFFFF
##7E58EA1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#0070E7
Tritanopia (blue-blind)
#5C7A99
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e58ea;
/* rgb */ color: rgb(126, 88, 234);
/* oklch */ color: oklch(57.9% 0.210 290.3);
Tailwind
colors: {
  custom: {
    50: '#ab89f2',
    500: '#7e58ea',
    950: '#000000',
  },
}
SCSS
$custom: #7e58ea;
$custom-light: #ab89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e58ea",
  "rgb": {
    "r": 126,
    "g": 88,
    "b": 234
  },
  "hsl": {
    "h": 255.616,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57895,
    "c": 0.20959,
    "h": 290.3
  },
  "luminance": 0.17356
}

Semantic roles & 50–950 ramp

primary
#7E58EA
secondary
#DBE9B5
accent
#DA0CA4
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E58EA

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

Preview Lab → · Contrast checker → · Palette generator →

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