#7A58FA#7A58FA

#7A58FA is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.8% C 0.229 H 286.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7A58FA
RGBrgb(122, 88, 250)
HSLhsl(253, 94%, 66%)
HSVhsv(253, 65%, 98%)
CMYKcmyk(51.2%, 64.8%, 0%, 2%)
CIE-LABlab(49.52, 53.30, -76.38)
CIE-LCHlch(49.52, 93.14, 304.91°)
OKLaboklab(58.77% 0.0658 -0.2192)
OKLCHoklch(58.77% 0.229 286.7)
XYZxyz(28.7660, 18.0177, 92.3860)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A58FA #D8FA58
analogous
#5887FA #7A58FA #CB58FA
triadic
#7A58FA #FA7A58 #58FA7A
tetradic
#7A58FA #FA5887 #D8FA58 #58FACB
square
#7A58FA #FA5887 #D8FA58 #58FACB
split-complementary
#7A58FA #FACB58 #87FA58
monochromatic
#3106D1 #4B1DF8 #7A58FA #A993FC #D9CFFE

Accessibility & contrast

On white

4.56
#7A58FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7A58FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A58FA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A58FA#FFFFFF#000000##000000
##7A58FA1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0071F7
Tritanopia (blue-blind)
#4980A2
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a58fa;
/* rgb */ color: rgb(122, 88, 250);
/* oklch */ color: oklch(58.8% 0.229 286.7);
Tailwind
colors: {
  custom: {
    50: '#ab89fd',
    500: '#7a58fa',
    950: '#000000',
  },
}
SCSS
$custom: #7a58fa;
$custom-light: #ab89fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a58fa",
  "rgb": {
    "r": 122,
    "g": 88,
    "b": 250
  },
  "hsl": {
    "h": 252.593,
    "s": 94.186,
    "l": 66.275
  },
  "oklch": {
    "l": 0.58766,
    "c": 0.22887,
    "h": 286.7
  },
  "luminance": 0.18019
}

Semantic roles & 50–950 ramp

primary
#7A58FA
secondary
#E6F1BC
accent
#E600B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7A58FA

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

Preview Lab → · Contrast checker → · Palette generator →

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