#7B59D6#7B59D6

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

Color values

HEX#7B59D6
RGBrgb(123, 89, 214)
HSLhsl(256, 60%, 59%)
HSVhsv(256, 58%, 84%)
CMYKcmyk(42.5%, 58.4%, 0%, 16.1%)
CIE-LABlab(47.25, 42.86, -59.76)
CIE-LCHlch(47.25, 73.54, 305.64°)
OKLaboklab(56.33% 0.0687 -0.1703)
OKLCHoklch(56.33% 0.184 292)
XYZxyz(23.8750, 16.2100, 65.4762)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59D6 #B4D659
analogous
#5976D6 #7B59D6 #BA59D6
triadic
#7B59D6 #D67B59 #59D67B
tetradic
#7B59D6 #D65976 #B4D659 #59D6BA
square
#7B59D6 #D65976 #B4D659 #59D6BA
split-complementary
#7B59D6 #D6BA59 #76D659
monochromatic
#412491 #5830C2 #7B59D6 #A28AE2 #C9BBEE

Accessibility & contrast

On white

4.95
#7B59D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7B59D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59D6
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59D6#FFFFFF#000000##FFFFFF
##7B59D61.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DA
Deuteranopia (green-blind)
#116ED3
Tritanopia (blue-blind)
#61758F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b59d6;
/* rgb */ color: rgb(123, 89, 214);
/* oklch */ color: oklch(56.3% 0.184 292.0);
Tailwind
colors: {
  custom: {
    50: '#a789e3',
    500: '#7b59d6',
    950: '#000000',
  },
}
SCSS
$custom: #7b59d6;
$custom-light: #a789e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59d6",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 214
  },
  "hsl": {
    "h": 256.32,
    "s": 60.386,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56328,
    "c": 0.18366,
    "h": 292
  },
  "luminance": 0.16211
}

Semantic roles & 50–950 ramp

primary
#7B59D6
secondary
#D1DEAD
accent
#E444B8
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7B59D6

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

Preview Lab → · Contrast checker → · Palette generator →

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