#7A58E5#7A58E5

#7A58E5 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.2% C 0.204 H 289.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7A58E5
RGBrgb(122, 88, 229)
HSLhsl(254, 73%, 62%)
HSVhsv(254, 62%, 90%)
CMYKcmyk(46.7%, 61.6%, 0%, 10.2%)
CIE-LABlab(47.97, 47.39, -67.11)
CIE-LCHlch(47.97, 82.16, 305.22°)
OKLaboklab(57.16% 0.0678 -0.192)
OKLCHoklch(57.16% 0.204 289.5)
XYZxyz(25.6546, 16.7732, 75.9994)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A58E5 #C3E558
analogous
#587DE5 #7A58E5 #C158E5
triadic
#7A58E5 #E57A58 #58E57A
tetradic
#7A58E5 #E5587D #C3E558 #58E5C1
square
#7A58E5 #E5587D #C3E558 #58E5C1
split-complementary
#7A58E5 #E5C158 #7DE558
monochromatic
#3C1AA8 #5023DD #7A58E5 #A48DED #CEC2F5

Accessibility & contrast

On white

4.82
#7A58E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7A58E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A58E5
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A58E5#FFFFFF#000000##FFFFFF
##7A58E51.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#006EE2
Tritanopia (blue-blind)
#587996
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a58e5;
/* rgb */ color: rgb(122, 88, 229);
/* oklch */ color: oklch(57.2% 0.204 289.5);
Tailwind
colors: {
  custom: {
    50: '#a889ee',
    500: '#7a58e5',
    950: '#000000',
  },
}
SCSS
$custom: #7a58e5;
$custom-light: #a889ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7a58e5",
  "rgb": {
    "r": 122,
    "g": 88,
    "b": 229
  },
  "hsl": {
    "h": 254.468,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.57162,
    "c": 0.20359,
    "h": 289.5
  },
  "luminance": 0.16774
}

Semantic roles & 50–950 ramp

primary
#7A58E5
secondary
#DAE6B3
accent
#D510A6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7A58E5

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

Preview Lab → · Contrast checker → · Palette generator →

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