#7B59D8#7B59D8

#7B59D8 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.5% C 0.186 H 291.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7B59D8
RGBrgb(123, 89, 216)
HSLhsl(256, 62%, 60%)
HSVhsv(256, 59%, 85%)
CMYKcmyk(43.1%, 58.8%, 0%, 15.3%)
CIE-LABlab(47.38, 43.41, -60.69)
CIE-LCHlch(47.38, 74.61, 305.58°)
OKLaboklab(56.47% 0.0687 -0.173)
OKLCHoklch(56.47% 0.186 291.6)
XYZxyz(24.1320, 16.3128, 66.8296)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59D8 #B6D859
analogous
#5977D8 #7B59D8 #BB59D8
triadic
#7B59D8 #D87B59 #59D87B
tetradic
#7B59D8 #D85977 #B6D859 #59D8BB
square
#7B59D8 #D85977 #B6D859 #59D8BB
split-complementary
#7B59D8 #D8BB59 #77D859
monochromatic
#412394 #572EC5 #7B59D8 #A28BE4 #CABCEF

Accessibility & contrast

On white

4.93
#7B59D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7B59D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59D8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59D8#FFFFFF#000000##FFFFFF
##7B59D81.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#076ED5
Tritanopia (blue-blind)
#607590
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b59d8;
/* rgb */ color: rgb(123, 89, 216);
/* oklch */ color: oklch(56.5% 0.186 291.6);
Tailwind
colors: {
  custom: {
    50: '#a789e5',
    500: '#7b59d8',
    950: '#000000',
  },
}
SCSS
$custom: #7b59d8;
$custom-light: #a789e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59d8",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 216
  },
  "hsl": {
    "h": 256.063,
    "s": 61.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56469,
    "c": 0.18616,
    "h": 291.6
  },
  "luminance": 0.16314
}

Semantic roles & 50–950 ramp

primary
#7B59D8
secondary
#D2DFAE
accent
#E543BA
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7B59D8

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

Preview Lab → · Contrast checker → · Palette generator →

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