#7B59E5#7B59E5

#7B59E5 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.4% C 0.202 H 289.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7B59E5
RGBrgb(123, 89, 229)
HSLhsl(255, 73%, 62%)
HSVhsv(255, 61%, 90%)
CMYKcmyk(46.3%, 61.1%, 0%, 10.2%)
CIE-LABlab(48.27, 47.03, -66.62)
CIE-LCHlch(48.27, 81.54, 305.22°)
OKLaboklab(57.4% 0.0681 -0.1905)
OKLCHoklch(57.4% 0.202 289.7)
XYZxyz(25.8796, 17.0119, 76.0336)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59E5 #C3E559
analogous
#597DE5 #7B59E5 #C159E5
triadic
#7B59E5 #E57B59 #59E57B
tetradic
#7B59E5 #E5597D #C3E559 #59E5C1
square
#7B59E5 #E5597D #C3E559 #59E5C1
split-complementary
#7B59E5 #E5C159 #7DE559
monochromatic
#3D1AA9 #5124DD #7B59E5 #A58EED #CFC3F6

Accessibility & contrast

On white

4.77
#7B59E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#7B59E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59E5
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59E5#FFFFFF#000000##FFFFFF
##7B59E51.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#006FE2
Tritanopia (blue-blind)
#597A97
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b59e5;
/* rgb */ color: rgb(123, 89, 229);
/* oklch */ color: oklch(57.4% 0.202 289.7);
Tailwind
colors: {
  custom: {
    50: '#a989ee',
    500: '#7b59e5',
    950: '#000000',
  },
}
SCSS
$custom: #7b59e5;
$custom-light: #a989ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59e5",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 229
  },
  "hsl": {
    "h": 254.571,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57404,
    "c": 0.20228,
    "h": 289.7
  },
  "luminance": 0.17013
}

Semantic roles & 50–950 ramp

primary
#7B59E5
secondary
#DAE6B3
accent
#D510A5
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #7B59E5

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

Preview Lab → · Contrast checker → · Palette generator →

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