#7A58D8#7A58D8

#7A58D8 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.2% C 0.188 H 291.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7A58D8
RGBrgb(122, 88, 216)
HSLhsl(256, 62%, 60%)
HSVhsv(256, 59%, 85%)
CMYKcmyk(43.5%, 59.3%, 0%, 15.3%)
CIE-LABlab(47.07, 43.76, -61.19)
CIE-LCHlch(47.07, 75.23, 305.57°)
OKLaboklab(56.22% 0.0685 -0.1746)
OKLCHoklch(56.22% 0.188 291.4)
XYZxyz(23.9070, 16.0741, 66.7954)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A58D8 #B6D858
analogous
#5876D8 #7A58D8 #BA58D8
triadic
#7A58D8 #D87A58 #58D87A
tetradic
#7A58D8 #D85876 #B6D858 #58D8BA
square
#7A58D8 #D85876 #B6D858 #58D8BA
split-complementary
#7A58D8 #D8BA58 #76D858
monochromatic
#402293 #562EC5 #7A58D8 #A28AE4 #C9BBEF

Accessibility & contrast

On white

4.98
#7A58D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7A58D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A58D8
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A58D8#FFFFFF#000000##FFFFFF
##7A58D81.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#006DD5
Tritanopia (blue-blind)
#5F7590
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7a58d8;
/* rgb */ color: rgb(122, 88, 216);
/* oklch */ color: oklch(56.2% 0.188 291.4);
Tailwind
colors: {
  custom: {
    50: '#a788e5',
    500: '#7a58d8',
    950: '#000000',
  },
}
SCSS
$custom: #7a58d8;
$custom-light: #a788e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a58d8",
  "rgb": {
    "r": 122,
    "g": 88,
    "b": 216
  },
  "hsl": {
    "h": 255.938,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56218,
    "c": 0.18752,
    "h": 291.4
  },
  "luminance": 0.16075
}

Semantic roles & 50–950 ramp

primary
#7A58D8
secondary
#D2DFAD
accent
#E543BA
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7A58D8

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

Preview Lab → · Contrast checker → · Palette generator →

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