#7A58EB#7A58EB

#7A58EB is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.6% C 0.211 H 288.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7A58EB
RGBrgb(122, 88, 235)
HSLhsl(254, 79%, 63%)
HSVhsv(254, 63%, 92%)
CMYKcmyk(48.1%, 62.6%, 0%, 7.8%)
CIE-LABlab(48.40, 49.07, -69.80)
CIE-LCHlch(48.40, 85.32, 305.11°)
OKLaboklab(57.61% 0.0673 -0.1998)
OKLCHoklch(57.61% 0.211 288.6)
XYZxyz(26.5068, 17.1141, 80.4878)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A58EB #C9EB58
analogous
#587FEB #7A58EB #C458EB
triadic
#7A58EB #EB7A58 #58EB7A
tetradic
#7A58EB #EB587F #C9EB58 #58EBC4
square
#7A58EB #EB587F #C9EB58 #58EBC4
split-complementary
#7A58EB #EBC458 #7FEB58
monochromatic
#3A15B3 #4E21E4 #7A58EB #A68FF2 #D1C5F8

Accessibility & contrast

On white

4.75
#7A58EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#7A58EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A58EB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A58EB#FFFFFF#000000##FFFFFF
##7A58EB1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#006FE8
Tritanopia (blue-blind)
#547B9A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a58eb;
/* rgb */ color: rgb(122, 88, 235);
/* oklch */ color: oklch(57.6% 0.211 288.6);
Tailwind
colors: {
  custom: {
    50: '#a989f2',
    500: '#7a58eb',
    950: '#000000',
  },
}
SCSS
$custom: #7a58eb;
$custom-light: #a989f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a58eb",
  "rgb": {
    "r": 122,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 253.878,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5761,
    "c": 0.21089,
    "h": 288.6
  },
  "luminance": 0.17115
}

Semantic roles & 50–950 ramp

primary
#7A58EB
secondary
#DDEAB5
accent
#DB0BAB
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A58EB

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

Preview Lab → · Contrast checker → · Palette generator →

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