#7B59EB#7B59EB

#7B59EB is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 57.8% C 0.210 H 288.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7B59EB
RGBrgb(123, 89, 235)
HSLhsl(254, 78%, 64%)
HSVhsv(254, 62%, 92%)
CMYKcmyk(47.7%, 62.1%, 0%, 7.8%)
CIE-LABlab(48.70, 48.71, -69.31)
CIE-LCHlch(48.70, 84.71, 305.10°)
OKLaboklab(57.85% 0.0676 -0.1984)
OKLCHoklch(57.85% 0.21 288.8)
XYZxyz(26.7318, 17.3528, 80.5221)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59EB #C9EB59
analogous
#5980EB #7B59EB #C459EB
triadic
#7B59EB #EB7B59 #59EB7B
tetradic
#7B59EB #EB5980 #C9EB59 #59EBC4
square
#7B59EB #EB5980 #C9EB59 #59EBC4
split-complementary
#7B59EB #EBC459 #80EB59
monochromatic
#3B16B4 #5022E4 #7B59EB #A690F2 #D2C6F8

Accessibility & contrast

On white

4.70
#7B59EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7B59EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59EB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59EB#FFFFFF#000000##FFFFFF
##7B59EB1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#0070E8
Tritanopia (blue-blind)
#567C9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7b59eb;
/* rgb */ color: rgb(123, 89, 235);
/* oklch */ color: oklch(57.8% 0.210 288.8);
Tailwind
colors: {
  custom: {
    50: '#a989f2',
    500: '#7b59eb',
    950: '#000000',
  },
}
SCSS
$custom: #7b59eb;
$custom-light: #a989f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59eb",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 253.973,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57849,
    "c": 0.2096,
    "h": 288.8
  },
  "luminance": 0.17354
}

Semantic roles & 50–950 ramp

primary
#7B59EB
secondary
#DEEAB6
accent
#DB0BAA
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B59EB

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

Preview Lab → · Contrast checker → · Palette generator →

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