#7B59E6#7B59E6

#7B59E6 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.5% C 0.203 H 289.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7B59E6
RGBrgb(123, 89, 230)
HSLhsl(254, 74%, 63%)
HSVhsv(254, 61%, 90%)
CMYKcmyk(46.5%, 61.3%, 0%, 9.8%)
CIE-LABlab(48.35, 47.31, -67.07)
CIE-LCHlch(48.35, 82.07, 305.20°)
OKLaboklab(57.48% 0.068 -0.1918)
OKLCHoklch(57.48% 0.204 289.5)
XYZxyz(26.0196, 17.0679, 76.7710)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59E6 #C4E659
analogous
#597EE6 #7B59E6 #C159E6
triadic
#7B59E6 #E67B59 #59E67B
tetradic
#7B59E6 #E6597E #C4E659 #59E6C1
square
#7B59E6 #E6597E #C4E659 #59E6C1
split-complementary
#7B59E6 #E6C159 #7EE659
monochromatic
#3D1AAB #5124DE #7B59E6 #A58EEE #D0C3F6

Accessibility & contrast

On white

4.76
#7B59E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7B59E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59E6
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59E6#FFFFFF#000000##FFFFFF
##7B59E61.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EB
Deuteranopia (green-blind)
#006FE3
Tritanopia (blue-blind)
#597A97
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b59e6;
/* rgb */ color: rgb(123, 89, 230);
/* oklch */ color: oklch(57.5% 0.203 289.5);
Tailwind
colors: {
  custom: {
    50: '#a989ef',
    500: '#7b59e6',
    950: '#000000',
  },
}
SCSS
$custom: #7b59e6;
$custom-light: #a989ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59e6",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 230
  },
  "hsl": {
    "h": 254.468,
    "s": 73.822,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57478,
    "c": 0.2035,
    "h": 289.5
  },
  "luminance": 0.17069
}

Semantic roles & 50–950 ramp

primary
#7B59E6
secondary
#DBE7B4
accent
#D610A6
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B59E6

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

Preview Lab → · Contrast checker → · Palette generator →

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