#7A58DE#7A58DE

#7A58DE is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.6% C 0.195 H 290.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7A58DE
RGBrgb(122, 88, 222)
HSLhsl(255, 67%, 61%)
HSVhsv(255, 60%, 87%)
CMYKcmyk(45%, 60.4%, 0%, 12.9%)
CIE-LABlab(47.48, 45.43, -63.94)
CIE-LCHlch(47.48, 78.44, 305.39°)
OKLaboklab(56.65% 0.0683 -0.1826)
OKLCHoklch(56.65% 0.195 290.5)
XYZxyz(24.6969, 16.3901, 70.9554)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A58DE #BCDE58
analogous
#5879DE #7A58DE #BD58DE
triadic
#7A58DE #DE7A58 #58DE7A
tetradic
#7A58DE #DE5879 #BCDE58 #58DEBD
square
#7A58DE #DE5879 #BCDE58 #58DEBD
split-complementary
#7A58DE #DEBD58 #79DE58
monochromatic
#3F1F9D #5329D0 #7A58DE #A38BE8 #CBBEF2

Accessibility & contrast

On white

4.91
#7A58DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7A58DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A58DE
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A58DE#FFFFFF#000000##FFFFFF
##7A58DE1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#006EDB
Tritanopia (blue-blind)
#5C7793
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7a58de;
/* rgb */ color: rgb(122, 88, 222);
/* oklch */ color: oklch(56.6% 0.195 290.5);
Tailwind
colors: {
  custom: {
    50: '#a788e9',
    500: '#7a58de',
    950: '#000000',
  },
}
SCSS
$custom: #7a58de;
$custom-light: #a788e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a58de",
  "rgb": {
    "r": 122,
    "g": 88,
    "b": 222
  },
  "hsl": {
    "h": 255.224,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.56649,
    "c": 0.19498,
    "h": 290.5
  },
  "luminance": 0.16391
}

Semantic roles & 50–950 ramp

primary
#7A58DE
secondary
#D5E2B0
accent
#CF17A0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7A58DE

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

Preview Lab → · Contrast checker → · Palette generator →

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