#7B59BB#7B59BB

#7B59BB is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.5% C 0.149 H 297.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7B59BB
RGBrgb(123, 89, 187)
HSLhsl(261, 42%, 54%)
HSVhsv(261, 52%, 73%)
CMYKcmyk(34.2%, 52.4%, 0%, 26.7%)
CIE-LABlab(45.56, 35.54, -46.92)
CIE-LCHlch(45.56, 58.86, 307.14°)
OKLaboklab(54.54% 0.0682 -0.1326)
OKLCHoklch(54.54% 0.149 297.2)
XYZxyz(20.7082, 14.9433, 48.7974)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B59BB #99BB59
analogous
#5968BB #7B59BB #AC59BB
triadic
#7B59BB #BB7B59 #59BB7B
tetradic
#7B59BB #BB5968 #99BB59 #59BBAC
square
#7B59BB #BB5968 #99BB59 #59BBAC
split-complementary
#7B59BB #BBAC59 #68BB59
monochromatic
#432D6D #5E3E98 #7B59BB #9E84CD #C0B0DF

Accessibility & contrast

On white

5.26
#7B59BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7B59BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B59BB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B59BB#FFFFFF#000000##FFFFFF
##7B59BB1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336CBE
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#6D6C81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7b59bb;
/* rgb */ color: rgb(123, 89, 187);
/* oklch */ color: oklch(54.5% 0.149 297.2);
Tailwind
colors: {
  custom: {
    50: '#a489d0',
    500: '#7b59bb',
    950: '#000000',
  },
}
SCSS
$custom: #7b59bb;
$custom-light: #a489d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b59bb",
  "rgb": {
    "r": 123,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 260.816,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54537,
    "c": 0.14911,
    "h": 297.2
  },
  "luminance": 0.14944
}

Semantic roles & 50–950 ramp

primary
#7B59BB
secondary
#BECDA3
accent
#D256A7
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7B59BB

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

Preview Lab → · Contrast checker → · Palette generator →

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