#7A58DC#7A58DC

#7A58DC is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.5% C 0.193 H 290.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7A58DC
RGBrgb(122, 88, 220)
HSLhsl(255, 65%, 60%)
HSVhsv(255, 60%, 86%)
CMYKcmyk(44.5%, 60%, 0%, 13.7%)
CIE-LABlab(47.34, 44.87, -63.03)
CIE-LCHlch(47.34, 77.37, 305.45°)
OKLaboklab(56.5% 0.0683 -0.18)
OKLCHoklch(56.5% 0.193 290.8)
XYZxyz(24.4304, 16.2835, 69.5521)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A58DC #BADC58
analogous
#5878DC #7A58DC #BC58DC
triadic
#7A58DC #DC7A58 #58DC7A
tetradic
#7A58DC #DC5878 #BADC58 #58DCBC
square
#7A58DC #DC5878 #BADC58 #58DCBC
split-complementary
#7A58DC #DCBC58 #78DC58
monochromatic
#3F2099 #542BCC #7A58DC #A28BE7 #CBBDF1

Accessibility & contrast

On white

4.93
#7A58DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7A58DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A58DC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A58DC#FFFFFF#000000##FFFFFF
##7A58DC1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#006DD9
Tritanopia (blue-blind)
#5D7692
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7a58dc;
/* rgb */ color: rgb(122, 88, 220);
/* oklch */ color: oklch(56.5% 0.193 290.8);
Tailwind
colors: {
  custom: {
    50: '#a788e8',
    500: '#7a58dc',
    950: '#000000',
  },
}
SCSS
$custom: #7a58dc;
$custom-light: #a788e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a58dc",
  "rgb": {
    "r": 122,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 255.455,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56504,
    "c": 0.1925,
    "h": 290.8
  },
  "luminance": 0.16284
}

Semantic roles & 50–950 ramp

primary
#7A58DC
secondary
#D4E1AF
accent
#CD189F
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7A58DC

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

Preview Lab → · Contrast checker → · Palette generator →

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