#7B59DC#7B59DC

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

Color values

HEX#7B59DC
RGBrgb(123, 89, 220)
HSLhsl(256, 65%, 61%)
HSVhsv(256, 60%, 86%)
CMYKcmyk(44.1%, 59.5%, 0%, 13.7%)
CIE-LABlab(47.65, 44.52, -62.53)
CIE-LCHlch(47.65, 76.76, 305.45°)
OKLaboklab(56.75% 0.0686 -0.1784)
OKLCHoklch(56.75% 0.191 291)
XYZxyz(24.6554, 16.5222, 69.5863)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59DC #BADC59
analogous
#5978DC #7B59DC #BD59DC
triadic
#7B59DC #DC7B59 #59DC7B
tetradic
#7B59DC #DC5978 #BADC59 #59DCBD
square
#7B59DC #DC5978 #BADC59 #59DCBD
split-complementary
#7B59DC #DCBD59 #78DC59
monochromatic
#40209A #552BCD #7B59DC #A38CE7 #CBBEF1

Accessibility & contrast

On white

4.88
#7B59DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7B59DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59DC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59DC#FFFFFF#000000##FFFFFF
##7B59DC1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#5E7792
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b59dc;
/* rgb */ color: rgb(123, 89, 220);
/* oklch */ color: oklch(56.8% 0.191 291.0);
Tailwind
colors: {
  custom: {
    50: '#a889e8',
    500: '#7b59dc',
    950: '#000000',
  },
}
SCSS
$custom: #7b59dc;
$custom-light: #a889e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59dc",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 255.573,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56752,
    "c": 0.19115,
    "h": 291
  },
  "luminance": 0.16523
}

Semantic roles & 50–950 ramp

primary
#7B59DC
secondary
#D4E1AF
accent
#CD189E
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7B59DC

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

Preview Lab → · Contrast checker → · Palette generator →

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