#7B59D5#7B59D5

#7B59D5 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.3% C 0.182 H 292.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7B59D5
RGBrgb(123, 89, 213)
HSLhsl(256, 60%, 59%)
HSVhsv(256, 58%, 84%)
CMYKcmyk(42.3%, 58.2%, 0%, 16.5%)
CIE-LABlab(47.18, 42.58, -59.30)
CIE-LCHlch(47.18, 73.00, 305.68°)
OKLaboklab(56.26% 0.0688 -0.1689)
OKLCHoklch(56.26% 0.182 292.1)
XYZxyz(23.7477, 16.1591, 64.8057)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59D5 #B3D559
analogous
#5975D5 #7B59D5 #B959D5
triadic
#7B59D5 #D57B59 #59D57B
tetradic
#7B59D5 #D55975 #B3D559 #59D5B9
square
#7B59D5 #D55975 #B3D559 #59D5B9
split-complementary
#7B59D5 #D5B959 #75D559
monochromatic
#42248F #5831C0 #7B59D5 #A28AE1 #C9BBEE

Accessibility & contrast

On white

4.96
#7B59D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7B59D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59D5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59D5#FFFFFF#000000##FFFFFF
##7B59D51.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072D9
Deuteranopia (green-blind)
#146DD2
Tritanopia (blue-blind)
#62748E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b59d5;
/* rgb */ color: rgb(123, 89, 213);
/* oklch */ color: oklch(56.3% 0.182 292.1);
Tailwind
colors: {
  custom: {
    50: '#a789e3',
    500: '#7b59d5',
    950: '#000000',
  },
}
SCSS
$custom: #7b59d5;
$custom-light: #a789e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59d5",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 213
  },
  "hsl": {
    "h": 256.452,
    "s": 59.615,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56259,
    "c": 0.18241,
    "h": 292.1
  },
  "luminance": 0.1616
}

Semantic roles & 50–950 ramp

primary
#7B59D5
secondary
#D0DDAD
accent
#E345B8
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C15
muted
#7F7D84

Preview Lab

Preview with #7B59D5

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

Preview Lab → · Contrast checker → · Palette generator →

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