#7B59DE#7B59DE

#7B59DE is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.9% C 0.194 H 290.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7B59DE
RGBrgb(123, 89, 222)
HSLhsl(255, 67%, 61%)
HSVhsv(255, 60%, 87%)
CMYKcmyk(44.6%, 59.9%, 0%, 12.9%)
CIE-LABlab(47.79, 45.07, -63.44)
CIE-LCHlch(47.79, 77.82, 305.39°)
OKLaboklab(56.9% 0.0685 -0.1811)
OKLCHoklch(56.9% 0.194 290.7)
XYZxyz(24.9219, 16.6288, 70.9896)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59DE #BCDE59
analogous
#5979DE #7B59DE #BD59DE
triadic
#7B59DE #DE7B59 #59DE7B
tetradic
#7B59DE #DE5979 #BCDE59 #59DEBD
square
#7B59DE #DE5979 #BCDE59 #59DEBD
split-complementary
#7B59DE #DEBD59 #79DE59
monochromatic
#3F1F9D #5429D0 #7B59DE #A48CE8 #CCBFF2

Accessibility & contrast

On white

4.85
#7B59DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#7B59DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59DE
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59DE#FFFFFF#000000##FFFFFF
##7B59DE1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#006EDB
Tritanopia (blue-blind)
#5D7793
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7b59de;
/* rgb */ color: rgb(123, 89, 222);
/* oklch */ color: oklch(56.9% 0.194 290.7);
Tailwind
colors: {
  custom: {
    50: '#a889e9',
    500: '#7b59de',
    950: '#000000',
  },
}
SCSS
$custom: #7b59de;
$custom-light: #a889e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59de",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 222
  },
  "hsl": {
    "h": 255.338,
    "s": 66.834,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56895,
    "c": 0.19365,
    "h": 290.7
  },
  "luminance": 0.1663
}

Semantic roles & 50–950 ramp

primary
#7B59DE
secondary
#D6E2B0
accent
#CF17A0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7B59DE

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

Preview Lab → · Contrast checker → · Palette generator →

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