#7A58CA#7A58CA

#7A58CA is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.2% C 0.170 H 293.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7A58CA
RGBrgb(122, 88, 202)
HSLhsl(258, 52%, 57%)
HSVhsv(258, 56%, 79%)
CMYKcmyk(39.6%, 56.4%, 0%, 20.8%)
CIE-LABlab(46.15, 39.91, -54.66)
CIE-LCHlch(46.15, 67.67, 306.13°)
OKLaboklab(55.25% 0.0687 -0.1553)
OKLCHoklch(55.25% 0.17 293.9)
XYZxyz(22.1736, 15.3808, 57.6662)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A58CA #A8CA58
analogous
#586FCA #7A58CA #B358CA
triadic
#7A58CA #CA7A58 #58CA7A
tetradic
#7A58CA #CA586F #A8CA58 #58CAB3
square
#7A58CA #CA586F #A8CA58 #58CAB3
split-complementary
#7A58CA #CAB358 #6FCA58
monochromatic
#42287F #5A37AE #7A58CA #9F86D9 #C4B5E7

Accessibility & contrast

On white

5.15
#7A58CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7A58CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A58CA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A58CA#FFFFFF#000000##FFFFFF
##7A58CA1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6FCE
Deuteranopia (green-blind)
#286BC7
Tritanopia (blue-blind)
#657088
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7a58ca;
/* rgb */ color: rgb(122, 88, 202);
/* oklch */ color: oklch(55.2% 0.170 293.9);
Tailwind
colors: {
  custom: {
    50: '#a588db',
    500: '#7a58ca',
    950: '#000000',
  },
}
SCSS
$custom: #7a58ca;
$custom-light: #a588db;
$custom-dark: #000000;
JSON
{
  "hex": "#7a58ca",
  "rgb": {
    "r": 122,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 257.895,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55249,
    "c": 0.16985,
    "h": 293.9
  },
  "luminance": 0.15381
}

Semantic roles & 50–950 ramp

primary
#7A58CA
secondary
#C8D6A8
accent
#DB4DB1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7A58CA

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

Preview Lab → · Contrast checker → · Palette generator →

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