#7B59E8#7B59E8

#7B59E8 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.6% C 0.206 H 289.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7B59E8
RGBrgb(123, 89, 232)
HSLhsl(254, 76%, 63%)
HSVhsv(254, 62%, 91%)
CMYKcmyk(47%, 61.6%, 0%, 9%)
CIE-LABlab(48.49, 47.87, -67.97)
CIE-LCHlch(48.49, 83.13, 305.15°)
OKLaboklab(57.63% 0.0679 -0.1944)
OKLCHoklch(57.63% 0.206 289.2)
XYZxyz(26.3021, 17.1809, 78.2587)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59E8 #C6E859
analogous
#597EE8 #7B59E8 #C359E8
triadic
#7B59E8 #E87B59 #59E87B
tetradic
#7B59E8 #E8597E #C6E859 #59E8C3
square
#7B59E8 #E8597E #C6E859 #59E8C3
split-complementary
#7B59E8 #E8C359 #7EE859
monochromatic
#3C18AE #5023E1 #7B59E8 #A68FEF #D0C5F7

Accessibility & contrast

On white

4.73
#7B59E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7B59E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59E8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59E8#FFFFFF#000000##FFFFFF
##7B59E81.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#0070E5
Tritanopia (blue-blind)
#587B98
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b59e8;
/* rgb */ color: rgb(123, 89, 232);
/* oklch */ color: oklch(57.6% 0.206 289.2);
Tailwind
colors: {
  custom: {
    50: '#a989f0',
    500: '#7b59e8',
    950: '#000000',
  },
}
SCSS
$custom: #7b59e8;
$custom-light: #a989f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59e8",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 232
  },
  "hsl": {
    "h": 254.266,
    "s": 75.661,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57626,
    "c": 0.20594,
    "h": 289.2
  },
  "luminance": 0.17182
}

Semantic roles & 50–950 ramp

primary
#7B59E8
secondary
#DCE8B5
accent
#D80EA8
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B59E8

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

Preview Lab → · Contrast checker → · Palette generator →

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