#7A58F7#7A58F7

#7A58F7 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.5% C 0.225 H 287.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7A58F7
RGBrgb(122, 88, 247)
HSLhsl(253, 91%, 66%)
HSVhsv(253, 64%, 97%)
CMYKcmyk(50.6%, 64.4%, 0%, 3.1%)
CIE-LABlab(49.29, 52.45, -75.08)
CIE-LCHlch(49.29, 91.58, 304.94°)
OKLaboklab(58.53% 0.0662 -0.2154)
OKLCHoklch(58.53% 0.225 287.1)
XYZxyz(28.2993, 17.8310, 89.9283)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A58F7 #D5F758
analogous
#5885F7 #7A58F7 #C958F7
triadic
#7A58F7 #F77A58 #58F77A
tetradic
#7A58F7 #F75885 #D5F758 #58F7C9
square
#7A58F7 #F75885 #D5F758 #58F7C9
split-complementary
#7A58F7 #F7C958 #85F758
monochromatic
#330ACB #4B1EF4 #7A58F7 #A992FA #D7CDFD

Accessibility & contrast

On white

4.60
#7A58F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7A58F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A58F7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A58F7#FFFFFF#000000##FFFFFF
##7A58F71.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FC
Deuteranopia (green-blind)
#0071F4
Tritanopia (blue-blind)
#4B7FA0
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a58f7;
/* rgb */ color: rgb(122, 88, 247);
/* oklch */ color: oklch(58.5% 0.225 287.1);
Tailwind
colors: {
  custom: {
    50: '#aa89fb',
    500: '#7a58f7',
    950: '#000000',
  },
}
SCSS
$custom: #7a58f7;
$custom-light: #aa89fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a58f7",
  "rgb": {
    "r": 122,
    "g": 88,
    "b": 247
  },
  "hsl": {
    "h": 252.83,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58531,
    "c": 0.22531,
    "h": 287.1
  },
  "luminance": 0.17832
}

Semantic roles & 50–950 ramp

primary
#7A58F7
secondary
#E5F0BB
accent
#E600B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7A58F7

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

Preview Lab → · Contrast checker → · Palette generator →

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