#7A58EA#7A58EA

#7A58EA is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.5% C 0.210 H 288.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7A58EA
RGBrgb(122, 88, 234)
HSLhsl(254, 78%, 63%)
HSVhsv(254, 62%, 92%)
CMYKcmyk(47.9%, 62.4%, 0%, 8.2%)
CIE-LABlab(48.33, 48.79, -69.35)
CIE-LCHlch(48.33, 84.79, 305.13°)
OKLaboklab(57.54% 0.0674 -0.1985)
OKLCHoklch(57.54% 0.21 288.8)
XYZxyz(26.3628, 17.0564, 79.7291)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A58EA #C8EA58
analogous
#587FEA #7A58EA #C358EA
triadic
#7A58EA #EA7A58 #58EA7A
tetradic
#7A58EA #EA587F #C8EA58 #58EAC3
square
#7A58EA #EA587F #C8EA58 #58EAC3
split-complementary
#7A58EA #EAC358 #7FEA58
monochromatic
#3A16B1 #4F22E3 #7A58EA #A58EF1 #D1C5F8

Accessibility & contrast

On white

4.76
#7A58EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7A58EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A58EA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A58EA#FFFFFF#000000##FFFFFF
##7A58EA1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#557B99
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a58ea;
/* rgb */ color: rgb(122, 88, 234);
/* oklch */ color: oklch(57.5% 0.210 288.8);
Tailwind
colors: {
  custom: {
    50: '#a989f2',
    500: '#7a58ea',
    950: '#000000',
  },
}
SCSS
$custom: #7a58ea;
$custom-light: #a989f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a58ea",
  "rgb": {
    "r": 122,
    "g": 88,
    "b": 234
  },
  "hsl": {
    "h": 253.973,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57535,
    "c": 0.20968,
    "h": 288.8
  },
  "luminance": 0.17058
}

Semantic roles & 50–950 ramp

primary
#7A58EA
secondary
#DDE9B5
accent
#DA0CAA
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A58EA

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

Preview Lab → · Contrast checker → · Palette generator →

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