#7A58FD#7A58FD

#7A58FD is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.0% C 0.232 H 286.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7A58FD
RGBrgb(122, 88, 253)
HSLhsl(252, 98%, 67%)
HSVhsv(252, 65%, 99%)
CMYKcmyk(51.8%, 65.2%, 0%, 0.8%)
CIE-LABlab(49.75, 54.14, -77.68)
CIE-LCHlch(49.75, 94.68, 304.88°)
OKLaboklab(59% 0.0654 -0.223)
OKLCHoklch(59% 0.232 286.4)
XYZxyz(29.2401, 18.2074, 94.8831)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A58FD #DBFD58
analogous
#5888FD #7A58FD #CD58FD
triadic
#7A58FD #FD7A58 #58FD7A
tetradic
#7A58FD #FD5888 #DBFD58 #58FDCD
square
#7A58FD #FD5888 #DBFD58 #58FDCD
split-complementary
#7A58FD #FDCD58 #88FD58
monochromatic
#2F03D8 #4A1CFC #7A58FD #AA94FE #DAD1FE

Accessibility & contrast

On white

4.52
#7A58FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7A58FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A58FD
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A58FD#FFFFFF#000000##000000
##7A58FD1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#0072FA
Tritanopia (blue-blind)
#4681A3
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a58fd;
/* rgb */ color: rgb(122, 88, 253);
/* oklch */ color: oklch(59.0% 0.232 286.4);
Tailwind
colors: {
  custom: {
    50: '#ab89ff',
    500: '#7a58fd',
    950: '#000000',
  },
}
SCSS
$custom: #7a58fd;
$custom-light: #ab89ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7a58fd",
  "rgb": {
    "r": 122,
    "g": 88,
    "b": 253
  },
  "hsl": {
    "h": 252.364,
    "s": 97.633,
    "l": 66.863
  },
  "oklch": {
    "l": 0.59003,
    "c": 0.23242,
    "h": 286.4
  },
  "luminance": 0.18209
}

Semantic roles & 50–950 ramp

primary
#7A58FD
secondary
#E8F3BE
accent
#E600B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7A58FD

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

Preview Lab → · Contrast checker → · Palette generator →

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