#7A58F3#7A58F3

#7A58F3 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.2% C 0.221 H 287.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7A58F3
RGBrgb(122, 88, 243)
HSLhsl(253, 87%, 65%)
HSVhsv(253, 64%, 95%)
CMYKcmyk(49.8%, 63.8%, 0%, 4.7%)
CIE-LABlab(48.99, 51.32, -73.33)
CIE-LCHlch(48.99, 89.50, 304.99°)
OKLaboklab(58.22% 0.0666 -0.2102)
OKLCHoklch(58.22% 0.221 287.6)
XYZxyz(27.6887, 17.5868, 86.7123)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A58F3 #D1F358
analogous
#5884F3 #7A58F3 #C758F3
triadic
#7A58F3 #F37A58 #58F37A
tetradic
#7A58F3 #F35884 #D1F358 #58F3C7
square
#7A58F3 #F35884 #D1F358 #58F3C7
split-complementary
#7A58F3 #F3C758 #84F358
monochromatic
#360EC3 #4D1FEF #7A58F3 #A791F7 #D5CAFB

Accessibility & contrast

On white

4.65
#7A58F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#7A58F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A58F3
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A58F3#FFFFFF#000000##FFFFFF
##7A58F31.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F8
Deuteranopia (green-blind)
#0070F0
Tritanopia (blue-blind)
#4E7E9E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a58f3;
/* rgb */ color: rgb(122, 88, 243);
/* oklch */ color: oklch(58.2% 0.221 287.6);
Tailwind
colors: {
  custom: {
    50: '#aa89f8',
    500: '#7a58f3',
    950: '#000000',
  },
}
SCSS
$custom: #7a58f3;
$custom-light: #aa89f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a58f3",
  "rgb": {
    "r": 122,
    "g": 88,
    "b": 243
  },
  "hsl": {
    "h": 253.161,
    "s": 86.592,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58221,
    "c": 0.22053,
    "h": 287.6
  },
  "luminance": 0.17588
}

Semantic roles & 50–950 ramp

primary
#7A58F3
secondary
#E2EEB9
accent
#E302B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A58F3

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

Preview Lab → · Contrast checker → · Palette generator →

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