#7B59D9#7B59D9

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

Color values

HEX#7B59D9
RGBrgb(123, 89, 217)
HSLhsl(256, 63%, 60%)
HSVhsv(256, 59%, 85%)
CMYKcmyk(43.3%, 59%, 0%, 14.9%)
CIE-LABlab(47.45, 43.69, -61.15)
CIE-LCHlch(47.45, 75.15, 305.54°)
OKLaboklab(56.54% 0.0687 -0.1744)
OKLCHoklch(56.54% 0.187 291.5)
XYZxyz(24.2617, 16.3647, 67.5126)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59D9 #B7D959
analogous
#5977D9 #7B59D9 #BB59D9
triadic
#7B59D9 #D97B59 #59D97B
tetradic
#7B59D9 #D95977 #B7D959 #59D9BB
square
#7B59D9 #D95977 #B7D959 #59D9BB
split-complementary
#7B59D9 #D9BB59 #77D959
monochromatic
#412295 #562EC7 #7B59D9 #A38BE4 #CABDF0

Accessibility & contrast

On white

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

On black

4.27
#7B59D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7B59D9#FFFFFF#000000##FFFFFF
##7B59D91.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DD
Deuteranopia (green-blind)
#026ED6
Tritanopia (blue-blind)
#607690
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b59d9;
/* rgb */ color: rgb(123, 89, 217);
/* oklch */ color: oklch(56.5% 0.187 291.5);
Tailwind
colors: {
  custom: {
    50: '#a789e5',
    500: '#7b59d9',
    950: '#000000',
  },
}
SCSS
$custom: #7b59d9;
$custom-light: #a789e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59d9",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 217
  },
  "hsl": {
    "h": 255.938,
    "s": 62.745,
    "l": 60
  },
  "oklch": {
    "l": 0.56539,
    "c": 0.18742,
    "h": 291.5
  },
  "luminance": 0.16365
}

Semantic roles & 50–950 ramp

primary
#7B59D9
secondary
#D2E0AE
accent
#E642BA
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7B59D9

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

Preview Lab → · Contrast checker → · Palette generator →

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