#7A59DC#7A59DC

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

Color values

HEX#7A59DC
RGBrgb(122, 89, 220)
HSLhsl(255, 65%, 61%)
HSVhsv(255, 60%, 86%)
CMYKcmyk(44.5%, 59.5%, 0%, 13.7%)
CIE-LABlab(47.56, 44.31, -62.69)
CIE-LCHlch(47.56, 76.76, 305.25°)
OKLaboklab(56.66% 0.0673 -0.1789)
OKLCHoklch(56.66% 0.191 290.6)
XYZxyz(24.5131, 16.4488, 69.5796)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A59DC #BBDC59
analogous
#5979DC #7A59DC #BC59DC
triadic
#7A59DC #DC7A59 #59DC7A
tetradic
#7A59DC #DC5979 #BBDC59 #59DCBC
square
#7A59DC #DC5979 #BBDC59 #59DCBC
split-complementary
#7A59DC #DCBC59 #79DC59
monochromatic
#3F209A #542BCD #7A59DC #A28CE7 #CBBEF1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A59DC#FFFFFF#000000##FFFFFF
##7A59DC1.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)
#0073E0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#5D7792
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7a59dc;
/* rgb */ color: rgb(122, 89, 220);
/* oklch */ color: oklch(56.7% 0.191 290.6);
Tailwind
colors: {
  custom: {
    50: '#a789e8',
    500: '#7a59dc',
    950: '#000000',
  },
}
SCSS
$custom: #7a59dc;
$custom-light: #a789e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a59dc",
  "rgb": {
    "r": 122,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 255.115,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56661,
    "c": 0.19116,
    "h": 290.6
  },
  "luminance": 0.1645
}

Semantic roles & 50–950 ramp

primary
#7A59DC
secondary
#D5E1AF
accent
#CD18A0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7A59DC

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

Preview Lab → · Contrast checker → · Palette generator →

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