#7B59E9#7B59E9

#7B59E9 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.7% C 0.207 H 289.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7B59E9
RGBrgb(123, 89, 233)
HSLhsl(254, 77%, 63%)
HSVhsv(254, 62%, 91%)
CMYKcmyk(47.2%, 61.8%, 0%, 8.6%)
CIE-LABlab(48.56, 48.15, -68.41)
CIE-LCHlch(48.56, 83.66, 305.14°)
OKLaboklab(57.7% 0.0678 -0.1958)
OKLCHoklch(57.7% 0.207 289.1)
XYZxyz(26.4445, 17.2378, 79.0089)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59E9 #C7E959
analogous
#597FE9 #7B59E9 #C359E9
triadic
#7B59E9 #E97B59 #59E97B
tetradic
#7B59E9 #E9597F #C7E959 #59E9C3
square
#7B59E9 #E9597F #C7E959 #59E9C3
split-complementary
#7B59E9 #E9C359 #7FE959
monochromatic
#3B17B0 #5023E2 #7B59E9 #A68FF0 #D1C5F7

Accessibility & contrast

On white

4.72
#7B59E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#7B59E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59E9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59E9#FFFFFF#000000##FFFFFF
##7B59E91.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EE
Deuteranopia (green-blind)
#0070E6
Tritanopia (blue-blind)
#577B99
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b59e9;
/* rgb */ color: rgb(123, 89, 233);
/* oklch */ color: oklch(57.7% 0.207 289.1);
Tailwind
colors: {
  custom: {
    50: '#a989f1',
    500: '#7b59e9',
    950: '#000000',
  },
}
SCSS
$custom: #7b59e9;
$custom-light: #a989f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59e9",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 233
  },
  "hsl": {
    "h": 254.167,
    "s": 76.596,
    "l": 63.137
  },
  "oklch": {
    "l": 0.577,
    "c": 0.20717,
    "h": 289.1
  },
  "luminance": 0.17239
}

Semantic roles & 50–950 ramp

primary
#7B59E9
secondary
#DDE9B5
accent
#D90DA9
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B59E9

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

Preview Lab → · Contrast checker → · Palette generator →

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