#7B59CD#7B59CD

#7B59CD is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.7% C 0.172 H 293.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7B59CD
RGBrgb(123, 89, 205)
HSLhsl(258, 54%, 58%)
HSVhsv(258, 57%, 80%)
CMYKcmyk(40%, 56.6%, 0%, 19.6%)
CIE-LABlab(46.66, 40.38, -55.56)
CIE-LCHlch(46.66, 68.68, 306.01°)
OKLaboklab(55.71% 0.0688 -0.1579)
OKLCHoklch(55.71% 0.172 293.5)
XYZxyz(22.7573, 15.7629, 59.5893)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59CD #ABCD59
analogous
#5971CD #7B59CD #B559CD
triadic
#7B59CD #CD7B59 #59CD7B
tetradic
#7B59CD #CD5971 #ABCD59 #59CDB5
square
#7B59CD #CD5971 #ABCD59 #59CDB5
split-complementary
#7B59CD #CDB559 #71CD59
monochromatic
#432884 #5B36B3 #7B59CD #A088DB #C6B7E9

Accessibility & contrast

On white

5.06
#7B59CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7B59CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59CD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59CD#FFFFFF#000000##FFFFFF
##7B59CD1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A70D1
Deuteranopia (green-blind)
#266DCA
Tritanopia (blue-blind)
#66728A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7b59cd;
/* rgb */ color: rgb(123, 89, 205);
/* oklch */ color: oklch(55.7% 0.172 293.5);
Tailwind
colors: {
  custom: {
    50: '#a689dd',
    500: '#7b59cd',
    950: '#000000',
  },
}
SCSS
$custom: #7b59cd;
$custom-light: #a689dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59cd",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 205
  },
  "hsl": {
    "h": 257.586,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5571,
    "c": 0.17228,
    "h": 293.5
  },
  "luminance": 0.15763
}

Semantic roles & 50–950 ramp

primary
#7B59CD
secondary
#CBD8AA
accent
#DD4BB2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7B59CD

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

Preview Lab → · Contrast checker → · Palette generator →

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