#7A58EC#7A58EC

#7A58EC is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.7% C 0.212 H 288.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7A58EC
RGBrgb(122, 88, 236)
HSLhsl(254, 80%, 64%)
HSVhsv(254, 63%, 93%)
CMYKcmyk(48.3%, 62.7%, 0%, 7.5%)
CIE-LABlab(48.48, 49.35, -70.24)
CIE-LCHlch(48.48, 85.84, 305.09°)
OKLaboklab(57.69% 0.0673 -0.2012)
OKLCHoklch(57.69% 0.212 288.5)
XYZxyz(26.6517, 17.1720, 81.2508)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A58EC #CAEC58
analogous
#5880EC #7A58EC #C458EC
triadic
#7A58EC #EC7A58 #58EC7A
tetradic
#7A58EC #EC5880 #CAEC58 #58ECC4
square
#7A58EC #EC5880 #CAEC58 #58ECC4
split-complementary
#7A58EC #ECC458 #80EC58
monochromatic
#3915B5 #4E21E6 #7A58EC #A68FF2 #D2C6F9

Accessibility & contrast

On white

4.74
#7A58EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7A58EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A58EC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A58EC#FFFFFF#000000##FFFFFF
##7A58EC1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F1
Deuteranopia (green-blind)
#006FE9
Tritanopia (blue-blind)
#537B9A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a58ec;
/* rgb */ color: rgb(122, 88, 236);
/* oklch */ color: oklch(57.7% 0.212 288.5);
Tailwind
colors: {
  custom: {
    50: '#a989f3',
    500: '#7a58ec',
    950: '#000000',
  },
}
SCSS
$custom: #7a58ec;
$custom-light: #a989f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a58ec",
  "rgb": {
    "r": 122,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 253.784,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57686,
    "c": 0.21211,
    "h": 288.5
  },
  "luminance": 0.17173
}

Semantic roles & 50–950 ramp

primary
#7A58EC
secondary
#DEEAB6
accent
#DC0AAC
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A58EC

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

Preview Lab → · Contrast checker → · Palette generator →

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