#7B59CE#7B59CE

#7B59CE is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.8% C 0.174 H 293.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7B59CE
RGBrgb(123, 89, 206)
HSLhsl(257, 54%, 58%)
HSVhsv(257, 57%, 81%)
CMYKcmyk(40.3%, 56.8%, 0%, 19.2%)
CIE-LABlab(46.73, 40.66, -56.03)
CIE-LCHlch(46.73, 69.22, 305.97°)
OKLaboklab(55.78% 0.0688 -0.1593)
OKLCHoklch(55.78% 0.174 293.4)
XYZxyz(22.8784, 15.8114, 60.2271)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59CE #ACCE59
analogous
#5971CE #7B59CE #B659CE
triadic
#7B59CE #CE7B59 #59CE7B
tetradic
#7B59CE #CE5971 #ACCE59 #59CEB6
square
#7B59CE #CE5971 #ACCE59 #59CEB6
split-complementary
#7B59CE #CEB659 #71CE59
monochromatic
#432785 #5A35B5 #7B59CE #A188DC #C6B8EA

Accessibility & contrast

On white

5.05
#7B59CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7B59CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59CE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59CE#FFFFFF#000000##FFFFFF
##7B59CE1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1870D2
Deuteranopia (green-blind)
#246DCB
Tritanopia (blue-blind)
#65728B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7b59ce;
/* rgb */ color: rgb(123, 89, 206);
/* oklch */ color: oklch(55.8% 0.174 293.4);
Tailwind
colors: {
  custom: {
    50: '#a689de',
    500: '#7b59ce',
    950: '#000000',
  },
}
SCSS
$custom: #7b59ce;
$custom-light: #a689de;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59ce",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 206
  },
  "hsl": {
    "h": 257.436,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55777,
    "c": 0.17356,
    "h": 293.4
  },
  "luminance": 0.15812
}

Semantic roles & 50–950 ramp

primary
#7B59CE
secondary
#CBD9AA
accent
#DE4AB3
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7B59CE

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

Preview Lab → · Contrast checker → · Palette generator →

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