#7A58E7#7A58E7

#7A58E7 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.3% C 0.206 H 289.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7A58E7
RGBrgb(122, 88, 231)
HSLhsl(254, 75%, 63%)
HSVhsv(254, 62%, 91%)
CMYKcmyk(47.2%, 61.9%, 0%, 9.4%)
CIE-LABlab(48.12, 47.95, -68.01)
CIE-LCHlch(48.12, 83.21, 305.18°)
OKLaboklab(57.31% 0.0677 -0.1946)
OKLCHoklch(57.31% 0.206 289.2)
XYZxyz(25.9354, 16.8855, 77.4785)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A58E7 #C5E758
analogous
#587DE7 #7A58E7 #C258E7
triadic
#7A58E7 #E77A58 #58E77A
tetradic
#7A58E7 #E7587D #C5E758 #58E7C2
square
#7A58E7 #E7587D #C5E758 #58E7C2
split-complementary
#7A58E7 #E7C258 #7DE758
monochromatic
#3C19AC #4F22DF #7A58E7 #A58EEF #CFC3F6

Accessibility & contrast

On white

4.80
#7A58E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7A58E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A58E7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A58E7#FFFFFF#000000##FFFFFF
##7A58E71.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#006FE4
Tritanopia (blue-blind)
#567A97
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a58e7;
/* rgb */ color: rgb(122, 88, 231);
/* oklch */ color: oklch(57.3% 0.206 289.2);
Tailwind
colors: {
  custom: {
    50: '#a889f0',
    500: '#7a58e7',
    950: '#000000',
  },
}
SCSS
$custom: #7a58e7;
$custom-light: #a889f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a58e7",
  "rgb": {
    "r": 122,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 254.266,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.5731,
    "c": 0.20603,
    "h": 289.2
  },
  "luminance": 0.16887
}

Semantic roles & 50–950 ramp

primary
#7A58E7
secondary
#DBE7B3
accent
#D70EA7
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A58E7

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

Preview Lab → · Contrast checker → · Palette generator →

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