#7A58CF#7A58CF

#7A58CF is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.6% C 0.176 H 292.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7A58CF
RGBrgb(122, 88, 207)
HSLhsl(257, 55%, 58%)
HSVhsv(257, 57%, 81%)
CMYKcmyk(41.1%, 57.5%, 0%, 18.8%)
CIE-LABlab(46.47, 41.28, -57.01)
CIE-LCHlch(46.47, 70.38, 305.90°)
OKLaboklab(55.59% 0.0687 -0.1623)
OKLCHoklch(55.59% 0.176 292.9)
XYZxyz(22.7752, 15.6214, 60.8346)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A58CF #ADCF58
analogous
#5871CF #7A58CF #B658CF
triadic
#7A58CF #CF7A58 #58CF7A
tetradic
#7A58CF #CF5871 #ADCF58 #58CFB6
square
#7A58CF #CF5871 #ADCF58 #58CFB6
split-complementary
#7A58CF #CFB658 #71CF58
monochromatic
#422786 #5934B6 #7A58CF #A088DD #C6B7EA

Accessibility & contrast

On white

5.09
#7A58CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7A58CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A58CF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A58CF#FFFFFF#000000##FFFFFF
##7A58CF1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E70D3
Deuteranopia (green-blind)
#1E6CCC
Tritanopia (blue-blind)
#63728B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7a58cf;
/* rgb */ color: rgb(122, 88, 207);
/* oklch */ color: oklch(55.6% 0.176 292.9);
Tailwind
colors: {
  custom: {
    50: '#a688de',
    500: '#7a58cf',
    950: '#000000',
  },
}
SCSS
$custom: #7a58cf;
$custom-light: #a688de;
$custom-dark: #000000;
JSON
{
  "hex": "#7a58cf",
  "rgb": {
    "r": 122,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 257.143,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55589,
    "c": 0.1762,
    "h": 292.9
  },
  "luminance": 0.15622
}

Semantic roles & 50–950 ramp

primary
#7A58CF
secondary
#CCD9AA
accent
#DF49B4
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7A58CF

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

Preview Lab → · Contrast checker → · Palette generator →

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