#7A58DF#7A58DF

#7A58DF is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.7% C 0.196 H 290.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7A58DF
RGBrgb(122, 88, 223)
HSLhsl(255, 68%, 61%)
HSVhsv(255, 61%, 87%)
CMYKcmyk(45.3%, 60.5%, 0%, 12.5%)
CIE-LABlab(47.55, 45.71, -64.40)
CIE-LCHlch(47.55, 78.97, 305.37°)
OKLaboklab(56.72% 0.0682 -0.184)
OKLCHoklch(56.72% 0.196 290.3)
XYZxyz(24.8313, 16.4438, 71.6634)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A58DF #BDDF58
analogous
#5879DF #7A58DF #BD58DF
triadic
#7A58DF #DF7A58 #58DF7A
tetradic
#7A58DF #DF5879 #BDDF58 #58DFBD
square
#7A58DF #DF5879 #BDDF58 #58DFBD
split-complementary
#7A58DF #DFBD58 #79DF58
monochromatic
#3F1E9E #5328D2 #7A58DF #A38BE9 #CCBFF3

Accessibility & contrast

On white

4.90
#7A58DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7A58DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A58DF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A58DF#FFFFFF#000000##FFFFFF
##7A58DF1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#006EDC
Tritanopia (blue-blind)
#5B7793
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7a58df;
/* rgb */ color: rgb(122, 88, 223);
/* oklch */ color: oklch(56.7% 0.196 290.3);
Tailwind
colors: {
  custom: {
    50: '#a789ea',
    500: '#7a58df',
    950: '#000000',
  },
}
SCSS
$custom: #7a58df;
$custom-light: #a789ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7a58df",
  "rgb": {
    "r": 122,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 255.111,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56721,
    "c": 0.19621,
    "h": 290.3
  },
  "luminance": 0.16445
}

Semantic roles & 50–950 ramp

primary
#7A58DF
secondary
#D6E3B0
accent
#D016A1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7A58DF

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

Preview Lab → · Contrast checker → · Palette generator →

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