#7B59CF#7B59CF

#7B59CF is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.8% C 0.175 H 293.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7B59CF
RGBrgb(123, 89, 207)
HSLhsl(257, 55%, 58%)
HSVhsv(257, 57%, 81%)
CMYKcmyk(40.6%, 57%, 0%, 18.8%)
CIE-LABlab(46.79, 40.93, -56.50)
CIE-LCHlch(46.79, 69.77, 305.92°)
OKLaboklab(55.85% 0.0688 -0.1607)
OKLCHoklch(55.85% 0.175 293.2)
XYZxyz(23.0002, 15.8601, 60.8689)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59CF #ADCF59
analogous
#5972CF #7B59CF #B659CF
triadic
#7B59CF #CF7B59 #59CF7B
tetradic
#7B59CF #CF5972 #ADCF59 #59CFB6
square
#7B59CF #CF5972 #ADCF59 #59CFB6
split-complementary
#7B59CF #CFB659 #72CF59
monochromatic
#432787 #5A35B6 #7B59CF #A188DD #C6B8EA

Accessibility & contrast

On white

5.03
#7B59CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7B59CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59CF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59CF#FFFFFF#000000##FFFFFF
##7B59CF1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1570D3
Deuteranopia (green-blind)
#236DCC
Tritanopia (blue-blind)
#65728B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7b59cf;
/* rgb */ color: rgb(123, 89, 207);
/* oklch */ color: oklch(55.8% 0.175 293.2);
Tailwind
colors: {
  custom: {
    50: '#a689de',
    500: '#7b59cf',
    950: '#000000',
  },
}
SCSS
$custom: #7b59cf;
$custom-light: #a689de;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59cf",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 207
  },
  "hsl": {
    "h": 257.288,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55845,
    "c": 0.17483,
    "h": 293.2
  },
  "luminance": 0.15861
}

Semantic roles & 50–950 ramp

primary
#7B59CF
secondary
#CCD9AA
accent
#DE49B3
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7B59CF

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

Preview Lab → · Contrast checker → · Palette generator →

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