#7A58CC#7A58CC

#7A58CC is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.4% C 0.172 H 293.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7A58CC
RGBrgb(122, 88, 204)
HSLhsl(258, 53%, 57%)
HSVhsv(258, 57%, 80%)
CMYKcmyk(40.2%, 56.9%, 0%, 20%)
CIE-LABlab(46.28, 40.45, -55.60)
CIE-LCHlch(46.28, 68.76, 306.04°)
OKLaboklab(55.38% 0.0687 -0.1581)
OKLCHoklch(55.38% 0.172 293.5)
XYZxyz(22.4119, 15.4761, 58.9214)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A58CC #AACC58
analogous
#5870CC #7A58CC #B458CC
triadic
#7A58CC #CC7A58 #58CC7A
tetradic
#7A58CC #CC5870 #AACC58 #58CCB4
square
#7A58CC #CC5870 #AACC58 #58CCB4
split-complementary
#7A58CC #CCB458 #70CC58
monochromatic
#422882 #5A36B1 #7A58CC #9F87DA #C5B6E9

Accessibility & contrast

On white

5.13
#7A58CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7A58CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A58CC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A58CC#FFFFFF#000000##FFFFFF
##7A58CC1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176FD0
Deuteranopia (green-blind)
#246CC9
Tritanopia (blue-blind)
#657189
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a58cc;
/* rgb */ color: rgb(122, 88, 204);
/* oklch */ color: oklch(55.4% 0.172 293.5);
Tailwind
colors: {
  custom: {
    50: '#a588dc',
    500: '#7a58cc',
    950: '#000000',
  },
}
SCSS
$custom: #7a58cc;
$custom-light: #a588dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a58cc",
  "rgb": {
    "r": 122,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 257.586,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55384,
    "c": 0.17239,
    "h": 293.5
  },
  "luminance": 0.15477
}

Semantic roles & 50–950 ramp

primary
#7A58CC
secondary
#CAD7A8
accent
#DD4BB2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7A58CC

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

Preview Lab → · Contrast checker → · Palette generator →

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